summaryrefslogtreecommitdiff
path: root/cli/tests/unit/testing_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/testing_test.ts')
-rw-r--r--cli/tests/unit/testing_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/testing_test.ts b/cli/tests/unit/testing_test.ts
index 4789dbfa7..89b3cc31f 100644
--- a/cli/tests/unit/testing_test.ts
+++ b/cli/tests/unit/testing_test.ts
@@ -1,12 +1,12 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertThrows, unitTest } from "./test_util.ts";
-unitTest(function testFnOverloading(): void {
+unitTest(function testFnOverloading() {
// just verifying that you can use this test definition syntax
- Deno.test("test fn overloading", (): void => {});
+ Deno.test("test fn overloading", () => {});
});
-unitTest(function nameOfTestCaseCantBeEmpty(): void {
+unitTest(function nameOfTestCaseCantBeEmpty() {
assertThrows(
() => {
Deno.test("", () => {});