[pypy-svn] r66544 - pypy/branch/io-lang/pypy/lang/io/test

david at codespeak.net david at codespeak.net
Thu Jul 23 17:33:43 CEST 2009


Author: david
Date: Thu Jul 23 17:33:42 2009
New Revision: 66544

Modified:
   pypy/branch/io-lang/pypy/lang/io/test/test_map.py
Log:
Test for io-method with


Modified: pypy/branch/io-lang/pypy/lang/io/test/test_map.py
==============================================================================
--- pypy/branch/io-lang/pypy/lang/io/test/test_map.py	(original)
+++ pypy/branch/io-lang/pypy/lang/io/test/test_map.py	Thu Jul 23 17:33:42 2009
@@ -161,3 +161,10 @@
     assert res.slots['2'].value == 99
     assert res.slots['3'].value == 3
     assert res.slots['4'].value == 234
+
+
+def test_map_with():
+  inp = """Map with("a", 1, "b", 2) asObject"""
+  res, space = interpret(inp)
+  assert res.slots['a'].value == 1
+  assert res.slots['b'].value == 2
\ No newline at end of file



More information about the Pypy-commit mailing list