| branch | popcorn-port |
| changeset 369 | 70bc85b31c6d |
| parent 362 | 0b1bf06c28ed |
| child 374 | 138e76fe73a6 |
--- a/unittests/tests/utils.js Wed Nov 30 17:27:12 2011 +0100 +++ b/unittests/tests/utils.js Thu Dec 01 11:40:35 2011 +0100 @@ -57,4 +57,8 @@ IriSP.default_templates_vars["test_fixture"] = "FIXTURE"; equal(IriSP.templToHTML("{{test_fixture}} {{foo}}", {foo: 2}), "FIXTURE 2", "correct template returned"); }); + + test("test url encoding function", function() { + equal(IriSP.encodeURI("!'()*"), "%21%27%28%29%2A", "the returned string is correct"); + }); }