spec/front_end/scanner_spec.rb in loxxy-0.0.4 vs spec/front_end/scanner_spec.rb in loxxy-0.0.5

- old
+ new

@@ -76,11 +76,11 @@ ] match_expectations(subject, expectations) end it 'should recognize non-datatype keywords' do - keywords =<<-LOX_END + keywords = <<-LOX_END and class else fun for if or print return super this var while LOX_END subject.start_with(keywords) expectations = [ @@ -165,10 +165,10 @@ expect(tokens[3]).to be_kind_of(Rley::Lexical::Token) expect(tokens[3].terminal).to eq('DOT') end it 'should recognize string values' do - input =<<-LOX_END + input = <<-LOX_END "" "string" "123" LOX_END