Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Support #379

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Fix init_twice
  • Loading branch information
RossSmyth committed Jul 27, 2024
commit a5ac7d499750002c147a78acd54df39d763a9c3b
14 changes: 8 additions & 6 deletions tests/tests/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,14 @@ fn init_twice() {
.cargo_fuzz()
.arg("init")
.assert()
.stderr(predicates::str::contains("File exists (os error 17)").and(
predicates::str::contains(format!(
"failed to create directory {}",
project.fuzz_dir().display()
)),
))
.stderr(
predicates::str::contains("File exists (os error 17)")
.or(predicates::str::contains("os error 183"))
.and(predicates::str::contains(format!(
"failed to create directory {}",
project.fuzz_dir().display()
))),
)
.failure();
}

Expand Down