global bug
commit83abc213234568e1050be0acdb400d738a05b37d
authorAmjad Masad <amjad.masad@gmail.com>
dateMon 7 Sep 2020, 22:45 (6 years ago)
parent4692e8d
test_files/global_bug.jsnew file+1
@@ -0,0 +1 @@
1+console.log([] instanceof global.Array);
tests/nodejs/eval_code.exp+1−1
@@ -1,4 +1,4 @@
1−#!/usr/bin/expect -d
1+#!/usr/bin/expect -f
22
33set timeout -1
44spawn ./prybar-nodejs -q -e 1+1
tests/nodejs/global_bug.expnew file+10
@@ -0,0 +1,10 @@
1+#!/usr/bin/expect -f
2+
3+set timeout -1
4+spawn ./prybar-nodejs ./test_files/global_bug.js
5+match_max 100000
6+expect -exact "Node v12.18.3 on linux\r
7+\u001b\[0m\u001b\[90mHint: hit control+c anytime to enter REPL.\[0m\r
8+\u001b\[33mtrue\u001b\[39m\r
9+"
10+expect eof