diff --git a/unittest.vim b/unittest.vim index ec0070d..fad668c 100644 --- a/unittest.vim +++ b/unittest.vim @@ -645,6 +645,32 @@ finish 'type': "haml", 'result': "%div.content Hello!\n", }, + { + 'name': "join tag", + 'query': "", + 'type': "haml", + 'result': "", + 'skip': 1, + }, + { + 'name': "split tag", + 'query': "", + 'type': "haml", + 'result': "", + 'skip': 1, + }, + { + 'name': "comment tag", + 'query': "%a{ :href => \"http://www.google.com\"$$$$\\/$$$$ } hello", + 'type': "haml", + 'result': "-# %a{ :href => \"http://www.google.com\" } hello", + }, + { + 'name': "uncomment tag", + 'query': "-# %a{ :href => \"http://www.google.com\"$$$$\\/$$$$ } hello", + 'type': "haml", + 'result': "%a{ :href => \"http://www.google.com\" } hello", + }, ], }, { @@ -674,6 +700,32 @@ finish 'type': "slim", 'result': "div class=\"content\"\n | Hello!\n", }, + { + 'name': "join tag", + 'query': "", + 'type': "slim", + 'result': "", + 'skip': 1, + }, + { + 'name': "split tag", + 'query': "", + 'type': "slim", + 'result': "", + 'skip': 1, + }, + { + 'name': "comment tag", + 'query': "a href=\"http://www.google.com\"$$$$\\/$$$$\n | hello", + 'type': "slim", + 'result': "/a href=\"http://www.google.com\"\n | hello", + }, + { + 'name': "uncomment tag", + 'query': "/a href=\"http://www.google.com\"$$$$\\/$$$$\n | hello", + 'type': "slim", + 'result': "a href=\"http://www.google.com\"\n | hello", + }, ], }, {