spec/rley/parser/error_reason_spec.rb in rley-0.5.02 vs spec/rley/parser/error_reason_spec.rb in rley-0.5.03

- old
+ new

@@ -78,14 +78,14 @@ end end # context context 'Provided services:' do it 'should emit a message' do - text = <<MSG_END + text = <<MESSAGE_END Syntax error at or near token 4 >>>-<<< Expected one of: ['PLUS', 'LPAREN'], found a 'MINUS' instead. -MSG_END +MESSAGE_END expect(subject.to_s).to eq(text.chomp) expect(subject.message).to eq(text.chomp) end end # context end # describe @@ -109,13 +109,13 @@ end end # context context 'Provided services:' do it 'should emit a message' do - text = <<MSG_END + text = <<MESSAGE_END Premature end of input after '+' at position 4 Expected one of: ['INT', 'LPAREN']. -MSG_END +MESSAGE_END expect(subject.to_s).to eq(text.chomp) expect(subject.message).to eq(text.chomp) end end # context end # describe