From 850e639e3a813061ee3c9619f4b76e6edbb3cc39 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 6 Sep 2021 20:18:17 -0400 Subject: [PATCH] update identical rule spec to use lookahead symbol --- spec/imbecile_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/imbecile_spec.rb b/spec/imbecile_spec.rb index 6ac7160..c661a71 100644 --- a/spec/imbecile_spec.rb +++ b/spec/imbecile_spec.rb @@ -65,13 +65,13 @@ EOF build_parser end - it "generates a parser with duplicate rules" do + it "distinguishes between multiple identical rules with lookahead symbol" do write_grammar <> -Start: [R2] << +Start: [R2 b] << >> R1: [a b] << >>