[pypy-svn] r48934 - pypy/dist/pypy/lang/smalltalk/test

tverwaes at codespeak.net tverwaes at codespeak.net
Thu Nov 22 18:07:45 CET 2007


Author: tverwaes
Date: Thu Nov 22 18:07:45 2007
New Revision: 48934

Modified:
   pypy/dist/pypy/lang/smalltalk/test/test_primitives.py
Log:
and this is the test for the previous commit


Modified: pypy/dist/pypy/lang/smalltalk/test/test_primitives.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/test/test_primitives.py	(original)
+++ pypy/dist/pypy/lang/smalltalk/test/test_primitives.py	Thu Nov 22 18:07:45 2007
@@ -211,7 +211,7 @@
     bytecount = 3
     w_cm = model.W_CompiledMethod(bytecount)
     w_cm.literalsize = literalsize
-    assert prim(primitives.SIZE, [w_cm]).value == (literalsize)*constants.BYTES_PER_WORD + bytecount
+    assert prim(primitives.SIZE, [w_cm]).value == (literalsize+1)*constants.BYTES_PER_WORD + bytecount
 
 def test_string_at():
     assert prim(primitives.STRING_AT, ["foobar", 4]) == wrap("b")



More information about the Pypy-commit mailing list