test/unit/parser_unit_test.rb in liquid-3.0.6 vs test/unit/parser_unit_test.rb in liquid-4.0.0.rc1

- old
+ new

@@ -42,12 +42,12 @@ assert_equal true, p.look(:id, 1) assert_equal false, p.look(:number, 1) end def test_expressions - p = Parser.new("hi.there hi[5].! hi.there.bob") + p = Parser.new("hi.there hi?[5].there? hi.there.bob") assert_equal 'hi.there', p.expression - assert_equal 'hi[5].!', p.expression + assert_equal 'hi?[5].there?', p.expression assert_equal 'hi.there.bob', p.expression p = Parser.new("567 6.0 'lol' \"wut\"") assert_equal '567', p.expression assert_equal '6.0', p.expression