diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-06-10 01:08:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-10 01:08:58 +0800 |
commit | 4ad7b1dae46fb5bf98f12859b2906381421563d4 (patch) | |
tree | d3ea1801fedbcc30a34da5bde79fa6a2bd9534c2 /test/compress | |
parent | 9186859cb7df0b1f7ac328e19979b14967dbadf2 (diff) | |
download | tracifyjs-4ad7b1dae46fb5bf98f12859b2906381421563d4.tar.gz tracifyjs-4ad7b1dae46fb5bf98f12859b2906381421563d4.zip |
fix portability of `sandbox.run_code()` on Node.js 0.1x (#2078)
Diffstat (limited to 'test/compress')
-rw-r--r-- | test/compress/sandbox.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/compress/sandbox.js b/test/compress/sandbox.js new file mode 100644 index 00000000..6c2be933 --- /dev/null +++ b/test/compress/sandbox.js @@ -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", + ] +} |