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

Function assertUndefined

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

Source from the content-addressed store, hash-verified

136}
137
138function assertUndefined() {
139 _validateArguments(1, arguments);
140 var aVar=nonCommentArg(1, 1, arguments);
141 _assert(commentArg(1, arguments), aVar === top.JSUNIT_UNDEFINED_VALUE, 'Expected undefined but was ' + _displayStringForValue(aVar));
142}
143
144function assertNotUndefined() {
145 _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