chore: fix two locally failing on windows tests (#27845)

This commit is contained in:
David Sherret 2025-01-28 10:46:43 -05:00 committed by GitHub
parent bef33a0f48
commit 9931fb5cad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View file

@ -362,7 +362,7 @@ fn permissions_prompt_allow_all_2() {
// "read" permissions
test_util::assertions::assert_wildcard_match(&text, concat!(
"\r\n",
"┏ ⚠️ Deno requests read access to \"[WILDCARD]/tests/testdata/\".\r\n",
"┏ ⚠️ Deno requests read access to \"[WILDCARD]tests[WILDCHAR]testdata[WILDCHAR]\".\r\n",
"┠─ Requested by `Deno.lstatSync()` API.\r\n",
"┠─ To see a stack trace for this prompt, set the DENO_TRACE_PERMISSIONS environmental variable.\r\n",
"┠─ Learn more at: https://docs.deno.com/go/--allow-read\r\n",

View file

@ -7,10 +7,9 @@
"output": ""
},
{
"commandName": "mkdir",
"args": ["space in cwd"],
"args": ["eval", "Deno.mkdirSync('space in cwd')"],
"exitCode": 0,
"output": ""
"output": "[WILDCARD]"
},
{
"commandName": "./deno_copy",