Fix readline tests
authorTim Horton <hortont424@gmail.com>
Sun, 3 Jan 2010 00:40:30 +0000 (19:40 -0500)
committerTim Horton <hortont424@gmail.com>
Sun, 3 Jan 2010 00:40:30 +0000 (19:40 -0500)
tests/javascript/readline-bind.js
tests/javascript/readline.js

index ba42069..a9c99ca 100755 (executable)
@@ -1,8 +1,8 @@
 #!/usr/bin/env seed
 // Returns: 0
-// STDIN:a 2+2
-// STDOUT:Got here!\n4
-// STDERR:
+// STDIN:a2+2
+// STDOUT:Got here!\n2\+2\n4
+// STDERR:.
 
 readline = imports.readline;
 readline.bind("a", function () { print("Got here!"); });
index 9e9c481..7c1069b 100755 (executable)
@@ -1,8 +1,8 @@
 #!/usr/bin/env seed
 // Returns: 0
 // STDIN:2+2
-// STDOUT:4
-// STDERR:
+// STDOUT:2\+2\n4
+// STDERR:.
 
 readline = imports.readline;
 print(eval(readline.readline("")));