summaryrefslogtreecommitdiff
path: root/cli/tests/test_runner_test.ts
blob: 680bc5c2f4194bf033272e0afaa69c2644331616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

import { assert } from "../../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");
});