diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-03-01 20:02:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 13:02:51 +0100 |
commit | 62f33e3b146da2f4264d6fa71409516de892bdf3 (patch) | |
tree | 34335ac360086f90c4a49c608e00d9849c686820 /cli/tests/test/test_runner_test.ts | |
parent | 6dae6277497c0b083f25ead2ab020482dcd5c45f (diff) |
test(cli): reorganize test subcommand testcases and fixtures (#9627)
Diffstat (limited to 'cli/tests/test/test_runner_test.ts')
-rw-r--r-- | cli/tests/test/test_runner_test.ts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/cli/tests/test/test_runner_test.ts b/cli/tests/test/test_runner_test.ts new file mode 100644 index 000000000..111ff51c7 --- /dev/null +++ b/cli/tests/test/test_runner_test.ts @@ -0,0 +1,19 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. + +import { assert } from "../../../test_util/std/testing/asserts.ts"; + +Deno.test("fail1", function () { + assert(false, "fail1 assertion"); +}); + +Deno.test("fail2", function () { + assert(false, "fail2 assertion"); +}); + +Deno.test("success1", function () { + assert(true); +}); + +Deno.test("fail3", function () { + assert(false, "fail3 assertion"); +}); |