summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-03-31 15:13:37 +0200
committerFedor Indutny <fedor@indutny.com>2014-04-02 00:05:25 +0400
commitc7214fe355596543d92d7c10b38d78ca65b4abfe (patch)
tree185d2795e28bc92d2f0f1fbb45799012ec578ca7 /test
parent5e24adbb90d085e6ac0e37ad6f016b1c94ce01d6 (diff)
downloadandroid-node-v8-c7214fe355596543d92d7c10b38d78ca65b4abfe.tar.gz
android-node-v8-c7214fe355596543d92d7c10b38d78ca65b4abfe.tar.bz2
android-node-v8-c7214fe355596543d92d7c10b38d78ca65b4abfe.zip
src: fix up after v8 upgrade
The two biggest changes are that v8::Script::New() has been removed and that a v8::Script object now has to be explicitly bound to a context if you want to run it from another context. We can accommodate both changes without breaking the vm module's public API or even the internal JS API.
Diffstat (limited to 'test')
-rw-r--r--test/simple/test-vm-syntax-error-stderr.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/simple/test-vm-syntax-error-stderr.js b/test/simple/test-vm-syntax-error-stderr.js
index a5f7311149..3e88e1ff10 100644
--- a/test/simple/test-vm-syntax-error-stderr.js
+++ b/test/simple/test-vm-syntax-error-stderr.js
@@ -45,5 +45,5 @@ p.stdout.on('data', function(data) {
process.on('exit', function() {
assert(/BEGIN CERT/.test(output));
assert(/^\s+\^/m.test(output));
- assert(/Unexpected identifier/.test(output));
+ assert(/Invalid left-hand side expression in prefix operation/.test(output));
});