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,
|
2020-09-27 06:22:32 -04:00
|
|
|
assertMatch,
|
2020-08-18 14:15:59 -04:00
|
|
|
assertNotEquals,
|
2020-08-20 11:56:31 -04:00
|
|
|
assertNotStrictEquals,
|
2020-09-27 06:22:32 -04:00
|
|
|
assertStrictEquals,
|
2020-08-18 14:15:59 -04:00
|
|
|
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 {
|
2020-09-27 06:22:32 -04:00
|
|
|
assert,
|
2020-08-20 11:56:31 -04:00
|
|
|
assert as default,
|
|
|
|
assert as ok,
|
|
|
|
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;
|