MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / assertMessage

Function assertMessage

test/embind/embind.test.js:2644–2647  ·  view source on GitHub ↗
(fn, message)

Source from the content-addressed store, hash-verified

2642 }
2643
2644 function assertMessage(fn, message) {
2645 var e = assert.throws(cm.UnboundTypeError, fn);
2646 assert.equal(message, e.message);
2647 }
2648
2649 test("calling function with unbound types produces error", function() {
2650 assertMessage(

Callers 1

embind.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected