summaryrefslogtreecommitdiff
path: root/tests/specs/add/add_with_subpath
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2024-09-18 11:38:22 -0700
committerGitHub <noreply@github.com>2024-09-18 20:38:22 +0200
commitec86089c4e95eabbf9edc48491031eb6711a410f (patch)
tree3b441ba1bc9f7f95b6d87b4439cec78176db39c4 /tests/specs/add/add_with_subpath
parentc90b07457958518a8830798d8800f647f897d12f (diff)
feat: require jsr prefix for `deno install` and `deno add` (#25698)
Diffstat (limited to 'tests/specs/add/add_with_subpath')
-rw-r--r--tests/specs/add/add_with_subpath/__test__.jsonc4
-rw-r--r--tests/specs/add/add_with_subpath/wrong_constraint_jsr.out2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/specs/add/add_with_subpath/__test__.jsonc b/tests/specs/add/add_with_subpath/__test__.jsonc
index b051bd265..edd45299d 100644
--- a/tests/specs/add/add_with_subpath/__test__.jsonc
+++ b/tests/specs/add/add_with_subpath/__test__.jsonc
@@ -2,11 +2,11 @@
"tempDir": true,
"steps": [
{
- "args": "add @std/testing/bdd npm:preact/hooks",
+ "args": "add jsr:@std/testing/bdd npm:preact/hooks",
"output": "add.out"
},
{
- "args": "add @std/testing/bdd@1 npm:preact/hooks@10",
+ "args": "add jsr:@std/testing/bdd@1 npm:preact/hooks@10",
"output": "wrong_constraint_jsr.out",
"exitCode": 1
},
diff --git a/tests/specs/add/add_with_subpath/wrong_constraint_jsr.out b/tests/specs/add/add_with_subpath/wrong_constraint_jsr.out
index 2b218407d..7de7008e9 100644
--- a/tests/specs/add/add_with_subpath/wrong_constraint_jsr.out
+++ b/tests/specs/add/add_with_subpath/wrong_constraint_jsr.out
@@ -1,4 +1,4 @@
-error: Failed to parse package required: @std/testing/bdd@1
+error: Failed to parse package required: jsr:@std/testing/bdd@1
Caused by:
Invalid package specifier 'jsr:@std/testing/bdd@1'. Did you mean to write 'jsr:@std/testing@1/bdd'?