From 57a6f91196f9d1da388136d9bea5bafb9bb9f40b Mon Sep 17 00:00:00 2001 From: John Foerch Date: Sun, 11 Oct 2009 13:46:16 -0400 Subject: [PATCH] tests/simple/interactive.js: update for new input system call_interactively is a coroutine now. --- tests/simple/interactive.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/simple/interactive.js b/tests/simple/interactive.js index 08eb8c4..123835a 100644 --- a/tests/simple/interactive.js +++ b/tests/simple/interactive.js @@ -5,9 +5,9 @@ require('walnut.js'); test_call_interactively_1: function () { let a = 0; interactive('test1', null, function () { a = 1; }); - call_interactively({}, 'test1'); + co_call(call_interactively({}, 'test1')); assert_equals(a, 1); } }; walnut_run(suite); -} \ No newline at end of file +} -- 2.11.4.GIT