Skip to content

Commit

Permalink
Fix "unused import" warning on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Nov 8, 2024
1 parent 3101aa1 commit 4f2f869
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 4f2f869

Please sign in to comment.