From 5436e6bfc920d24a1775b33f5261a051c954a77c Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Thu, 8 May 2014 18:37:52 +0300 Subject: [PATCH] testing comments --- test/parser/test_basic.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/parser/test_basic.rb b/test/parser/test_basic.rb index 46cc7681..b0401706 100644 --- a/test/parser/test_basic.rb +++ b/test/parser/test_basic.rb @@ -18,6 +18,13 @@ class TestBasic < MiniTest::Test @parser = @parser.name end + def test_comment + @string_input = '# i am a comment\n' #NEEDS the return, which is what delimits the comment + @parse_output = {:comment => ' i am a comment'} + @transform_output = @parse_output #dont transform + @parser = @parser.comment + end + def test_string @string_input = <