git.iko.soy
/
prybar
readme
files
commits
refs
on
master
help
sign in
add a couple more tests
138456e
Amjad Masad
6 years ago
tests/nodejs/eval_code.exp
new file
+8
compare with master
unified
split
@@ -0,0 +1,8 @@
1
+
#!/usr/bin/expect -f
2
+
3
+
set timeout -1
4
+
spawn ./prybar-nodejs -q -e 1+1
5
+
match_max 100000
6
+
expect -exact "2\r
7
+
"
8
+
expect eof
tests/nodejs/printing.exp
new file
+13
@@ -0,0 +1,13 @@
1
+
#!/usr/bin/expect -f
2
+
3
+
set timeout -1
4
+
spawn ./prybar-nodejs -i -q
5
+
match_max 100000
6
+
expect -exact "\[1G\[0J--> \[5G"
7
+
send -- "console.log('x')\r"
8
+
expect -exact "console.log('x')\r\r
9
+
x\r
10
+
\[90mundefined\[39m\r
11
+
\[1G\[0J--> "
12
+
send -- ""
13
+
expect eof
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list