fix portability of sandbox.run_code() on Node.js 0.1x (#2078)

This commit is contained in:
Alex Lam S.L
2017-06-10 01:08:58 +08:00
committed by GitHub
parent 9186859cb7
commit 4ad7b1dae4
2 changed files with 18 additions and 1 deletions

14
test/compress/sandbox.js Normal file
View File

@@ -0,0 +1,14 @@
console_log: {
input: {
console.log("%% %s");
console.log("%% %s", "%s");
}
expect: {
console.log("%% %s");
console.log("%% %s", "%s");
}
expect_stdout: [
"%% %s",
"% %s",
]
}