spec/rley/parser/parse_entry_spec.rb in rley-0.7.00 vs spec/rley/parser/parse_entry_spec.rb in rley-0.7.01

- old
+ new

@@ -197,10 +197,10 @@ expect(subject.to_s).to eq(expected) end it 'should be inspectable' do subject.add_antecedent(subject) # Cheat for the good cause... - expected = '.sentence | 3' + # expected = '.sentence | 3' prefix = /^#<Rley::Parser::ParseEntry:\d+ @vertex/ expect(subject.inspect).to match(prefix) pattern = /@vertex=<Rley::GFG::StartVertex:\d+ label=\.sentence/ expect(subject.inspect).to match(pattern) pattern2 = /@origin=3 @antecedents=\[/