diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-12-07 12:59:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-07 12:59:59 -0500 |
commit | f4385866f89e0abd3f5f1b0281abf00f1c562be9 (patch) | |
tree | 3400cc38b77f1217250d671481a4113e141a80f9 /cli/tests/unit/version_test.ts | |
parent | 791e623c321dd9cc73263a64aa848af0111a812b (diff) |
feat: upgrade to TypeScript 4.9.3 (#16973)
Updated from: https://github.com/denoland/TypeScript/pull/2
Diffstat (limited to 'cli/tests/unit/version_test.ts')
-rw-r--r-- | cli/tests/unit/version_test.ts | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cli/tests/unit/version_test.ts b/cli/tests/unit/version_test.ts index 4f8a1c5e4..d9984dbf2 100644 --- a/cli/tests/unit/version_test.ts +++ b/cli/tests/unit/version_test.ts @@ -1,14 +1,8 @@ -import { assert } from "./test_util.ts"; +import { assert, assertEquals } from "./test_util.ts"; Deno.test(function version() { const pattern = /^\d+\.\d+\.\d+/; assert(pattern.test(Deno.version.deno)); assert(pattern.test(Deno.version.v8)); - // Unreleased version of TypeScript now set the version to 0-dev - assert( - pattern.test(Deno.version.typescript) || - Deno.version.typescript === "0-dev" || - Deno.version.typescript === "0-beta" || - Deno.version.typescript === "1-rc", - ); + assertEquals(Deno.version.typescript, "4.9.3"); }); |