2020-09-21 08:26:41 -04:00
|
|
|
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
2020-08-18 14:15:59 -04:00
|
|
|
import {
|
|
|
|
assertEquals,
|
|
|
|
assertNotEquals,
|
|
|
|
assertStrictEquals,
|
2020-08-20 11:56:31 -04:00
|
|
|
assertNotStrictEquals,
|
2020-08-18 14:15:59 -04:00
|
|
|
assertMatch,
|
|
|
|
assertThrows,
|
|
|
|
} from "../testing/asserts.ts";
|
|
|
|
|
2020-09-14 10:22:07 -04:00
|
|
|
export { AssertionError } from "./assertion_error.ts";
|
|
|
|
|
2020-08-20 11:56:31 -04:00
|
|
|
export {
|
|
|
|
assert as default,
|
|
|
|
assert as ok,
|
|
|
|
assert,
|
|
|
|
fail,
|
|
|
|
} from "../testing/asserts.ts";
|
2020-08-18 14:15:59 -04:00
|
|
|
|
2020-08-20 11:56:31 -04:00
|
|
|
export const deepStrictEqual = assertEquals;
|
|
|
|
export const notDeepStrictEqual = assertNotEquals;
|
2020-08-18 14:15:59 -04:00
|
|
|
export const strictEqual = assertStrictEquals;
|
2020-08-20 11:56:31 -04:00
|
|
|
export const notStrictEqual = assertNotStrictEquals;
|
2020-08-18 14:15:59 -04:00
|
|
|
export const match = assertMatch;
|
|
|
|
export const throws = assertThrows;
|