summaryrefslogtreecommitdiff
path: root/tests/integration/init_tests.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-03-27 17:51:52 +0000
committerGitHub <noreply@github.com>2024-03-27 18:51:52 +0100
commit0e4d1cb5f9a3645f6da480b2b8540568fa69d675 (patch)
tree8d2a029a40d86f93110a825ab5d05c9bd28135da /tests/integration/init_tests.rs
parent624e3a04e7eb92d5ce3536cec653d7aae92df5b5 (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 'tests/integration/init_tests.rs')
-rw-r--r--tests/integration/init_tests.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/init_tests.rs b/tests/integration/init_tests.rs
index d3908eae4..d2a9fa59b 100644
--- a/tests/integration/init_tests.rs
+++ b/tests/integration/init_tests.rs
@@ -6,7 +6,7 @@ use util::TestContextBuilder;
#[test]
fn init_subcommand_without_dir() {
- let context = TestContextBuilder::new().use_temp_cwd().build();
+ let context = TestContextBuilder::for_jsr().use_temp_cwd().build();
let cwd = context.temp_dir().path();
let output = context.new_command().args("init").split_output().run();
@@ -46,7 +46,7 @@ fn init_subcommand_without_dir() {
#[test]
fn init_subcommand_with_dir_arg() {
- let context = TestContextBuilder::new().use_temp_cwd().build();
+ let context = TestContextBuilder::for_jsr().use_temp_cwd().build();
let cwd = context.temp_dir().path();
let output = context
@@ -92,7 +92,7 @@ fn init_subcommand_with_dir_arg() {
#[test]
fn init_subcommand_with_quiet_arg() {
- let context = TestContextBuilder::new().use_temp_cwd().build();
+ let context = TestContextBuilder::for_jsr().use_temp_cwd().build();
let cwd = context.temp_dir().path();
let output = context