diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-03-27 17:51:52 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-27 18:51:52 +0100 |
| commit | 0e4d1cb5f9a3645f6da480b2b8540568fa69d675 (patch) | |
| tree | 8d2a029a40d86f93110a825ab5d05c9bd28135da /cli/tools/init/templates/main_test.ts | |
| parent | 624e3a04e7eb92d5ce3536cec653d7aae92df5b5 (diff) | |
feat(init): use jsr specifier for @std/assert (#23073)
This commit changes "deno init" subcommand to use "jsr:" specifier for
standard library "assert" module. It is unversioned, but we will change
it to `@^1` once `@std/assert` release version 1.0.
This allows us to start decoupling `deno` and `deno_std` release. The
release scripts have been updated to take that into account.
Diffstat (limited to 'cli/tools/init/templates/main_test.ts')
| -rw-r--r-- | cli/tools/init/templates/main_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/init/templates/main_test.ts b/cli/tools/init/templates/main_test.ts index 505b1abb0..26af2582b 100644 --- a/cli/tools/init/templates/main_test.ts +++ b/cli/tools/init/templates/main_test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "{CURRENT_STD_URL}assert/mod.ts"; +import { assertEquals } from "jsr:@std/assert"; import { add } from "./main.ts"; Deno.test(function addTest() { |
