mirror of
https://github.com/denoland/deno.git
synced 2025-02-01 12:16:11 -05:00
8971064546
Co-authored-by: Kenta Moriuchi <moriken@kimamass.com>
10 lines
316 B
TypeScript
10 lines
316 B
TypeScript
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
|
|
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));
|
|
assertEquals(Deno.version.typescript, "5.7.3");
|
|
});
|