summaryrefslogtreecommitdiff
path: root/cli/tests/test_runner_test.ts
blob: 006eca07cc62b5953d1448390570ffe48b040a12 (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(function fail1() {
  assert(false, "fail1 assertion");
});

Deno.test(function fail2() {
  assert(false, "fail2 assertion");
});

Deno.test(function success1() {
  assert(true);
});

Deno.test(function fail3() {
  assert(false, "fail3 assertion");
});