Skip to content

Commit

Permalink
Merge pull request #105 from cakebaker/fix_unused_import_on_windows
Browse files Browse the repository at this point in the history
Fix "unused import" warning on Windows
  • Loading branch information
sylvestre authored Nov 8, 2024
2 parents 3101aa1 + 4f2f869 commit 1575aec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

use assert_cmd::cmd::Command;
use predicates::prelude::*;
use std::fs::{File, OpenOptions};
use std::fs::File;
#[cfg(not(windows))]
use std::fs::OpenOptions;
use std::io::Write;
use tempfile::{tempdir, NamedTempFile};

Expand Down

0 comments on commit 1575aec

Please sign in to comment.