spec/rley/parser/parse_entry_spec.rb in rley-0.3.04 vs spec/rley/parser/parse_entry_spec.rb in rley-0.3.05
- old
+ new
@@ -9,11 +9,10 @@
require_relative '../../../lib/rley/parser/parse_entry'
module Rley # Open this namespace to avoid module qualifier prefixes
module Parser # Open this namespace to avoid module qualifier prefixes
describe ParseEntry do
-
let(:t_a) { Syntax::Terminal.new('A') }
let(:t_b) { Syntax::Terminal.new('B') }
let(:t_c) { Syntax::Terminal.new('C') }
let(:nt_sentence) { Syntax::NonTerminal.new('sentence') }
@@ -22,10 +21,9 @@
end
let(:empty_prod) do
Syntax::Production.new(nt_sentence, [])
end
-
let(:dotted_rule) { DottedItem.new(sample_prod, 2) }
let(:origin_val) { 3 }
let(:vertex_faked) { double('fake-vertex') }
let(:vertex2) { double('vertex-mock') }