mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 20:38:55 +00:00
chore: upgrade test_util/std/ submodule (#14722)
This commit is contained in:
parent
f81ea85bb7
commit
afc702b136
@ -120,6 +120,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
|
||||
&[
|
||||
"cache",
|
||||
"--reload",
|
||||
"--unstable",
|
||||
"test_util/std/examples/chat/server_test.ts",
|
||||
],
|
||||
None,
|
||||
@ -130,13 +131,18 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
|
||||
"cache",
|
||||
"--reload",
|
||||
"--no-check",
|
||||
"--unstable",
|
||||
"test_util/std/examples/chat/server_test.ts",
|
||||
],
|
||||
None,
|
||||
),
|
||||
(
|
||||
"bundle",
|
||||
&["bundle", "test_util/std/examples/chat/server_test.ts"],
|
||||
&[
|
||||
"bundle",
|
||||
"--unstable",
|
||||
"test_util/std/examples/chat/server_test.ts",
|
||||
],
|
||||
None,
|
||||
),
|
||||
(
|
||||
@ -144,6 +150,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
|
||||
&[
|
||||
"bundle",
|
||||
"--no-check",
|
||||
"--unstable",
|
||||
"test_util/std/examples/chat/server_test.ts",
|
||||
],
|
||||
None,
|
||||
|
@ -52,7 +52,7 @@ function parseCss(cssString: string): Css {
|
||||
return parseCss_(cssString);
|
||||
}
|
||||
|
||||
function parseCssColor(colorString: string): Css {
|
||||
function parseCssColor(colorString: string): [number, number, number] | null {
|
||||
return parseCssColor_(colorString);
|
||||
}
|
||||
|
||||
|
@ -167,7 +167,7 @@ Deno.test(
|
||||
() => {
|
||||
Deno.renameSync(olddir, file);
|
||||
},
|
||||
undefined,
|
||||
Error,
|
||||
`rename '${olddir}' -> '${file}'`,
|
||||
);
|
||||
|
||||
@ -252,7 +252,7 @@ Deno.test(
|
||||
() => {
|
||||
Deno.renameSync(olddir, emptydir);
|
||||
},
|
||||
undefined,
|
||||
Error,
|
||||
`rename '${olddir}' -> '${emptydir}'`,
|
||||
);
|
||||
|
||||
|
@ -358,8 +358,8 @@ Deno.test(
|
||||
},
|
||||
);
|
||||
|
||||
Deno.test({ permissions: { run: true } }, async function spawnNotFound() {
|
||||
await assertRejects(
|
||||
Deno.test({ permissions: { run: true } }, function spawnNotFound() {
|
||||
assertThrows(
|
||||
() => Deno.spawn("this file hopefully doesn't exist"),
|
||||
Deno.errors.NotFound,
|
||||
);
|
||||
@ -672,8 +672,8 @@ Deno.test(
|
||||
},
|
||||
);
|
||||
|
||||
Deno.test(async function spawnStdinPipedFails() {
|
||||
await assertRejects(
|
||||
Deno.test(function spawnStdinPipedFails() {
|
||||
assertThrows(
|
||||
() =>
|
||||
Deno.spawn("id", {
|
||||
stdin: "piped",
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 6069bfe4137864214daf43637069fa533f04ba82
|
||||
Subproject commit 852968f631b09f6df4a3b0ac6169ba3436d75fc5
|
Loading…
Reference in New Issue
Block a user