test/import/test_shake_lexer.rb in tracksperanto-2.3.1 vs test/import/test_shake_lexer.rb in tracksperanto-2.3.2

- old
+ new

@@ -99,9 +99,29 @@ 1, ]], s) end + def test_lexer_with_inline_comments_munged_into_arguments + st = 'Tracker( + 0, // preprocess enable + 10 // bluramount + , + "Tracker8")' + + s = parse(st) + assert_equal( + [[ + :funcall, + "Tracker", + 0, + [:comment, " preprocess enable"], + 10, + [:comment, " bluramount"], + "Tracker8" + ]],s) + end + def test_lexer_with_ofx_curly_braces s = parse(File.read(OFX_CURLY_BRACES)) assert_equal( [[ :funcall, \ No newline at end of file