[pypy-svn] r39823 - pypy/dist/pypy/translator/js/modules/test

fijal at codespeak.net fijal at codespeak.net
Sat Mar 3 17:15:19 CET 2007


Author: fijal
Date: Sat Mar  3 17:15:16 2007
New Revision: 39823

Modified:
   pypy/dist/pypy/translator/js/modules/test/test_mochikit.py
Log:
One test


Modified: pypy/dist/pypy/translator/js/modules/test/test_mochikit.py
==============================================================================
--- pypy/dist/pypy/translator/js/modules/test/test_mochikit.py	(original)
+++ pypy/dist/pypy/translator/js/modules/test/test_mochikit.py	Sat Mar  3 17:15:16 2007
@@ -7,3 +7,8 @@
         def x():
             escapeHTML("xxx") + "xxx"
         assert js_source([x], use_pdb=False).find("escapeHTML (") != -1
+
+    def test_serialize_json(self):
+        def x():
+            return serializeJSON(3) + serializeJSON("aaa") + serializeJSON([1])
+        assert js_source([x])



More information about the Pypy-commit mailing list