From 3f0cf9619fce71a8898c495501df4bdb0e07e735 Mon Sep 17 00:00:00 2001 From: Leo K Date: Thu, 5 Aug 2021 13:08:58 +0200 Subject: refactor(cli/tests): remove unnecessary void return types (#11577) --- cli/tests/unit/testing_test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/tests/unit/testing_test.ts') 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("", () => {}); -- cgit v1.2.3