aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Jylanki <jjylanki@imvu.com>2013-04-16 21:14:58 +0300
committerJukka Jylänki <jujjyl@gmail.com>2013-04-18 20:08:33 +0300
commit3734028036e309fa13c8b4b9956666285ebaf94d (patch)
tree944fcb2829d9b7b07753088dd565383fbfb051fc
parent2afab7b6f9f890e2ba55e6273cb46db0f52c74d2 (diff)
Match embind tests to reported exception.
-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() {