Browse Source

Test with extended character

Eric Cestari 14 years ago
parent
commit
1c70d19916
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/src/erlydtl_unittests.erl

+ 4 - 0
tests/src/erlydtl_unittests.erl

@@ -958,6 +958,10 @@ tests() ->
                 <<"{% with a=b %}{{ a }}{% endwith %}">>, [{b, "foo"}], <<"foo">>},
                 <<"{% with a=b %}{{ a }}{% endwith %}">>, [{b, "foo"}], <<"foo">>},
             {"Cache multiple",
             {"Cache multiple",
                 <<"{% with alpha=1 beta=b %}{{ alpha }}/{{ beta }}{% endwith %}">>, [{b, 2}], <<"1/2">>}
                 <<"{% with alpha=1 beta=b %}{{ alpha }}/{{ beta }}{% endwith %}">>, [{b, 2}], <<"1/2">>}
+        ]},
+     {"unicode", [
+             {"(tm) somewhere",
+                 <<"™">>, [], <<"™">>}
         ]}
         ]}
     ].
     ].