diff --git a/cli/tests/node_compat/common.ts b/cli/tests/node_compat/common.ts index e774991f62..e9cfe31918 100644 --- a/cli/tests/node_compat/common.ts +++ b/cli/tests/node_compat/common.ts @@ -54,9 +54,7 @@ export function getPathsFromTestSuites(suites: TestSuites): string[] { return testPaths; } -const PARALLEL_PATTERN = Deno.build.os == "windows" - ? /^parallel[/\/]/ - : /^parallel\//; +const PARALLEL_PATTERN = /^parallel[\/\\]/; export function partitionParallelTestPaths( testPaths: string[], diff --git a/cli/tests/node_compat/test.ts b/cli/tests/node_compat/test.ts index 896b88bcf9..17c5bd0292 100644 --- a/cli/tests/node_compat/test.ts +++ b/cli/tests/node_compat/test.ts @@ -108,7 +108,7 @@ async function runTest(t: Deno.TestContext, path: string): Promise { ${stderrOutput} You can repeat only this test with the command: - + ${repeatCmd} `; console.log(msg);