Skip to content
Browse files

Merge pull request #58 from sendtopms/master

Testcase implemented
  • Loading branch information...
2 parents 194e844 + 23e61b4 commit 3306858bbceab3d4b2c792e69aa4d454d5fd05f5 @evanmiller evanmiller committed Dec 29, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/src/erlydtl_unittests.erl
View
3 tests/src/erlydtl_unittests.erl
@@ -1001,7 +1001,8 @@ tests() ->
{"spaceless", [
{"Beginning", <<"{% spaceless %} <b>foo</b>{% endspaceless %}">>, [], <<"<b>foo</b>">>},
{"Middle", <<"{% spaceless %}<b>foo</b> <b>bar</b>{% endspaceless %}">>, [], <<"<b>foo</b><b>bar</b>">>},
- {"End", <<"{% spaceless %}<b>foo</b> {% endspaceless %}">>, [], <<"<b>foo</b>">>}
+ {"End", <<"{% spaceless %}<b>foo</b> {% endspaceless %}">>, [], <<"<b>foo</b>">>},
+ {"NewLine", <<"{% spaceless %}\n<div> \n <b>foo</b> \n </div>\n {% endspaceless %}">>, [], <<"<div><b>foo</b></div>">>}
]},
{"templatetag", [
{"openblock", <<"{% templatetag openblock %}">>, [], <<"{%">>},

0 comments on commit 3306858

Please sign in to comment.
Something went wrong with that request. Please try again.