summaryrefslogtreecommitdiff
path: root/tests/specs/run/run_task/__test__.jsonc
diff options
context:
space:
mode:
authorMarvin Hagemeister <marvin@deno.com>2024-08-27 11:27:10 +0200
committerGitHub <noreply@github.com>2024-08-27 11:27:10 +0200
commit7e68cce8159d55fd597f0da3e00f794200b9928f (patch)
tree451cc7d0deb419afe74cf1dbfd52469bb53e19b6 /tests/specs/run/run_task/__test__.jsonc
parentb6dbe1e256948293fd95a11740f68da7361e652b (diff)
fix(task): support tasks with colons in name in `deno run` (#25233)
Fix task names containing a colon not being found with `deno run`. We were only checking for a `module not found` error message, but strings containing a colon throw a different error. Fixes https://github.com/denoland/deno/issues/25232
Diffstat (limited to 'tests/specs/run/run_task/__test__.jsonc')
-rw-r--r--tests/specs/run/run_task/__test__.jsonc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/specs/run/run_task/__test__.jsonc b/tests/specs/run/run_task/__test__.jsonc
index 0d1c82efd..b53cca657 100644
--- a/tests/specs/run/run_task/__test__.jsonc
+++ b/tests/specs/run/run_task/__test__.jsonc
@@ -8,6 +8,10 @@
"args": "run not_found",
"output": "not_found.out",
"exitCode": 1
+ },
+ "deno_run_task_colon": {
+ "args": "run main:foo",
+ "output": "main_foo.out"
}
}
}