MCPcopy Create free account
hub / github.com/GNOME/gjs / assertNotNull

Function assertNotNull

modules/script/jsUnit.js:132–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130}
131
132function assertNotNull() {
133 _validateArguments(1, arguments);
134 var aVar=nonCommentArg(1, 1, arguments);
135 _assert(commentArg(1, arguments), aVar !== null, 'Expected not to be null');
136}
137
138function assertUndefined() {
139 _validateArguments(1, arguments);

Callers

nothing calls this directly

Calls 4

_validateArgumentsFunction · 0.85
nonCommentArgFunction · 0.85
_assertFunction · 0.85
commentArgFunction · 0.85

Tested by

no test coverage detected