Skip to content

Commit

Permalink
fix: windows tests (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford authored Jun 18, 2024
1 parent c0efb2e commit ff07e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xtask/src/generate/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ pub fn run() -> anyhow::Result<()> {
continue;
}

let windows_skip = DENO || TEST_IGNORE_WINDOWS.contains(&test_name.as_ref());
let windows_skip = TEST_IGNORE_WINDOWS.contains(&test_name.as_ref());

let content = generate_test(&test_name, windows_skip, false);
fs::write(format!("tests/gen/node_{test_name}.rs"), content)?;

if DENO && !DENO_IGNORE.contains(&test_name.as_ref()) {
let content = generate_test(&test_name, windows_skip, true);
let content = generate_test(&test_name, true, true);
let test_name = format!("deno_{test_name}");
fs::write(format!("tests/gen/{test_name}.rs"), content)?;
all_names.push(test_name);
Expand Down

0 comments on commit ff07e2d

Please sign in to comment.