mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 04:48:52 -05:00
chore: upgrade test_util/std/ submodule (#14722)
This commit is contained in:
parent
5e62ee31d7
commit
3aef7d1253
5 changed files with 16 additions and 9 deletions
|
@ -120,6 +120,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
|
||||||
&[
|
&[
|
||||||
"cache",
|
"cache",
|
||||||
"--reload",
|
"--reload",
|
||||||
|
"--unstable",
|
||||||
"test_util/std/examples/chat/server_test.ts",
|
"test_util/std/examples/chat/server_test.ts",
|
||||||
],
|
],
|
||||||
None,
|
None,
|
||||||
|
@ -130,13 +131,18 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
|
||||||
"cache",
|
"cache",
|
||||||
"--reload",
|
"--reload",
|
||||||
"--no-check",
|
"--no-check",
|
||||||
|
"--unstable",
|
||||||
"test_util/std/examples/chat/server_test.ts",
|
"test_util/std/examples/chat/server_test.ts",
|
||||||
],
|
],
|
||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
"bundle",
|
"bundle",
|
||||||
&["bundle", "test_util/std/examples/chat/server_test.ts"],
|
&[
|
||||||
|
"bundle",
|
||||||
|
"--unstable",
|
||||||
|
"test_util/std/examples/chat/server_test.ts",
|
||||||
|
],
|
||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
|
@ -144,6 +150,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
|
||||||
&[
|
&[
|
||||||
"bundle",
|
"bundle",
|
||||||
"--no-check",
|
"--no-check",
|
||||||
|
"--unstable",
|
||||||
"test_util/std/examples/chat/server_test.ts",
|
"test_util/std/examples/chat/server_test.ts",
|
||||||
],
|
],
|
||||||
None,
|
None,
|
||||||
|
|
|
@ -52,7 +52,7 @@ function parseCss(cssString: string): Css {
|
||||||
return parseCss_(cssString);
|
return parseCss_(cssString);
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseCssColor(colorString: string): Css {
|
function parseCssColor(colorString: string): [number, number, number] | null {
|
||||||
return parseCssColor_(colorString);
|
return parseCssColor_(colorString);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -167,7 +167,7 @@ Deno.test(
|
||||||
() => {
|
() => {
|
||||||
Deno.renameSync(olddir, file);
|
Deno.renameSync(olddir, file);
|
||||||
},
|
},
|
||||||
undefined,
|
Error,
|
||||||
`rename '${olddir}' -> '${file}'`,
|
`rename '${olddir}' -> '${file}'`,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -252,7 +252,7 @@ Deno.test(
|
||||||
() => {
|
() => {
|
||||||
Deno.renameSync(olddir, emptydir);
|
Deno.renameSync(olddir, emptydir);
|
||||||
},
|
},
|
||||||
undefined,
|
Error,
|
||||||
`rename '${olddir}' -> '${emptydir}'`,
|
`rename '${olddir}' -> '${emptydir}'`,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -381,8 +381,8 @@ Deno.test(
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
Deno.test({ permissions: { run: true } }, async function spawnNotFound() {
|
Deno.test({ permissions: { run: true } }, function spawnNotFound() {
|
||||||
await assertRejects(
|
assertThrows(
|
||||||
() => Deno.spawn("this file hopefully doesn't exist"),
|
() => Deno.spawn("this file hopefully doesn't exist"),
|
||||||
Deno.errors.NotFound,
|
Deno.errors.NotFound,
|
||||||
);
|
);
|
||||||
|
@ -695,8 +695,8 @@ Deno.test(
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
Deno.test(async function spawnStdinPipedFails() {
|
Deno.test(function spawnStdinPipedFails() {
|
||||||
await assertRejects(
|
assertThrows(
|
||||||
() =>
|
() =>
|
||||||
Deno.spawn("id", {
|
Deno.spawn("id", {
|
||||||
stdin: "piped",
|
stdin: "piped",
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 6069bfe4137864214daf43637069fa533f04ba82
|
Subproject commit 852968f631b09f6df4a3b0ac6169ba3436d75fc5
|
Loading…
Reference in a new issue