mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
refactor(cli/tests): remove unnecessary void return types (#11577)
This commit is contained in:
parent
299c7cfe54
commit
3f0cf9619f
121 changed files with 1095 additions and 1177 deletions
|
@ -1,6 +1,6 @@
|
|||
import { assert, unitTest } from "./test_util.ts";
|
||||
|
||||
unitTest(function version(): void {
|
||||
unitTest(function version() {
|
||||
const pattern = /^\d+\.\d+\.\d+/;
|
||||
assert(pattern.test(Deno.version.deno));
|
||||
assert(pattern.test(Deno.version.v8));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue