diff options
-rw-r--r-- | tests/test_core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index b96cbc36..c4bfcfa3 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -3946,9 +3946,9 @@ def process(filename): post = ''' def process(filename): src = \'\'\' - var data = [10, 20, 40, 30]; var Module = { - stdin: function() { return data.pop() || null }, + data: [10, 20, 40, 30], + stdin: function() { return Module.data.pop() || null }, stdout: function(x) { Module.print('got: ' + x) } }; \'\'\' + open(filename, 'r').read() |