diff options
Diffstat (limited to 'testing/asserts_test.ts')
| -rw-r--r-- | testing/asserts_test.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/asserts_test.ts b/testing/asserts_test.ts index 6f82d4169..87e0335ac 100644 --- a/testing/asserts_test.ts +++ b/testing/asserts_test.ts @@ -36,6 +36,10 @@ test(function testingEqual() { { hello: "world", hi: { there: "everyone else" } } ) ); + assert(equal(/deno/, /deno/)); + assert(!equal(/deno/, /node/)); + assert(equal(new Date(2019, 0, 3), new Date(2019, 0, 3))); + assert(!equal(new Date(2019, 0, 3), new Date(2019, 1, 3))); }); test(function testingNotEquals() { |
