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

Function assertNotEquals

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

Source from the content-addressed store, hash-verified

117}
118
119function assertNotEquals() {
120 _validateArguments(2, arguments);
121 var var1=nonCommentArg(1, 2, arguments);
122 var var2=nonCommentArg(2, 2, arguments);
123 _assert(commentArg(2, arguments), var1 !== var2, 'Expected not to be ' + _displayStringForValue(var2));
124}
125
126function assertNull() {
127 _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