aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/embind/embind.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/embind/embind.test.js b/tests/embind/embind.test.js
index 5af15be9..ff20791d 100755
--- a/tests/embind/embind.test.js
+++ b/tests/embind/embind.test.js
@@ -153,7 +153,7 @@ module({
});
if (typeof INVOKED_FROM_EMSCRIPTEN_TEST_RUNNER === "undefined") { // TODO: Enable this to work in Emscripten runner as well!
// got Error: expected: Derived.setMember with invalid "this": undefined, actual: Derived.setMember incompatible with "this" of type Object
- assert.equal('Expected null or instance of Derived*, got undefined', e.message);
+ assert.equal('Expected null or instance of Derived*, got [object global]', e.message);
}
var e = assert.throws(cm.BindingError, function() {