@typed/test
Version:
Simple test framework
8 lines • 346 B
JavaScript
import { curry2, equals } from '167';
import { AssertionError } from './AssertionError';
export var notEqual = curry2(function (expected, actual) {
if (equals(expected, actual))
throw new AssertionError("Expected value is equal to actual value", expected, actual, notEqual);
return actual;
});
//# sourceMappingURL=notEqual.js.map