assert.js
function notEqual(actual, expected, message) {
    if (actual != expected) {
      this.pass(message);
    }
    else {
      this.fail({
        actual: actual,
        expected: expected,
        message: message,
        operator: "!=",
      });
    }
  }
function notEqual(actual, expected, message) {
    if (actual != expected) {
      this.pass(message);
    }
    else {
      this.fail({
        actual: actual,
        expected: expected,
        message: message,
        operator: "!=",
      });
    }
  }
function notEqual ( actual , expected , message ) { if ( actual != expected ) { this . pass ( message ) ; } else { this . fail ( { actual : actual , expected : expected , message : message , operator : "!=" , } ) ; } }
The non-equality assertion tests for whether two objects are not equal
with `!=`.
@example
assert.notEqual(1, 2, "one is not two");
The non - equality assertion tests for whether two objects are not equal with ! = .