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