spec/rley/parser/dotted_item_spec.rb in rley-0.3.04 vs spec/rley/parser/dotted_item_spec.rb in rley-0.3.05

- old
+ new

@@ -124,10 +124,10 @@ it 'should determine if it is a successor of another dotted item' do expect(subject).not_to be_successor_of(subject) # Case: different productions instance = DottedItem.new(empty_prod, 0) - expect(subject).not_to be_successor_of(subject) + expect(subject).not_to be_successor_of(instance) # Case: one position difference instance = DottedItem.new(sample_prod, 0) expect(subject).to be_successor_of(instance) expect(instance).not_to be_successor_of(subject)