diff options
Diffstat (limited to 'vendor/wasm-bindgen/tests/wasm/closures.js')
-rw-r--r-- | vendor/wasm-bindgen/tests/wasm/closures.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/wasm-bindgen/tests/wasm/closures.js b/vendor/wasm-bindgen/tests/wasm/closures.js index dfc3d871e..9d2ca1e98 100644 --- a/vendor/wasm-bindgen/tests/wasm/closures.js +++ b/vendor/wasm-bindgen/tests/wasm/closures.js @@ -150,7 +150,7 @@ exports.pass_reference_first_arg_twice = (a, b, c) => { }; exports.call_destroyed = f => { - assert.throws(f, /invoked recursively or destroyed/); + assert.throws(f, /closure invoked.*after being dropped/); }; let FORGOTTEN_CLOSURE = null; |