1. Pypy
  2. Untitled project
  3. lang-scheme

Commits

Jürgen Bömmels  committed 62a632e

minor testfix

  • Participants
  • Parent commits ae3af9e
  • Branches default

Comments (0)

Files changed (1)

File scheme/test/test_eval.py

View file
  • Ignore whitespace
     w_result = eval_(ctx, "(apply list '((+ 2 3) (* 3 4)))")
     assert w_result.equal(parse_("((+ 2 3) (* 3 4))"))
     
-    py.test.raises(WrongArgsNumber, eval_, ctx, "(apply 1)")
+    py.test.raises(WrongArgsNumber, eval_, ctx, "(apply +)")
     py.test.raises(WrongArgType, eval_, ctx, "(apply 1 '(1))")
     py.test.raises(WrongArgType, eval_, ctx, "(apply + 42)")