changeset 167:32d343c4e0f7

test: test of sugar, corrected expected output To what it actually should look like.
author Sigurd Meldgaard <stm@daimi.au.dk>
date Fri, 11 Dec 2009 10:46:09 +0100
parents 9408bce66f9f
children 31e6933cecec
files pysmcl/test/unit/test_sugar.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pysmcl/test/unit/test_sugar.py	Fri Dec 11 10:42:50 2009 +0100
+++ b/pysmcl/test/unit/test_sugar.py	Fri Dec 11 10:46:09 2009 +0100
@@ -18,7 +18,7 @@
 def f(runtime):
     a = runtime.input(3)
     b = get(runtime, "Nr:")
-    c = runtime.output(a + b[0])
+    c = yield(runtime.output(a + b[0]))
     print c
 """