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

Function assertNull

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

Source from the content-addressed store, hash-verified

124}
125
126function assertNull() {
127 _validateArguments(1, arguments);
128 var aVar=nonCommentArg(1, 1, arguments);
129 _assert(commentArg(1, arguments), aVar === null, 'Expected null but was ' + _displayStringForValue(aVar));
130}
131
132function assertNotNull() {
133 _validateArguments(1, arguments);

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected