Commits

David Schneider committed 3d6c3bd

fix and pass second tests forwarding messages with arguments

  • Participants
  • Parent commits 59c883c

Comments (0)

Files changed (1)

File io/test/test_object.py

 def test_object_forwarding_args():
     inp = """
     a := Object clone do(
-        forward := method(call message argAt(0)))
+        forward := method(call message argAt(0))
     )
     a notThere(46)"""
     res, space = interpret(inp)
-    assert res.number_value == 46
+    assert isinstance(res, W_Message)
+    assert res.name == "46"