Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Mar 26, 2024
1 parent 2326abe commit 7f02159
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/flock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ fn can_take_shared_lock() {

let _ = std::fs::OpenOptions::new()
.create(true)
.truncate(true)
.write(true)
.open(&ctl)
.expect("failed to create lock file");
Expand Down Expand Up @@ -116,6 +117,7 @@ fn waits_lock() {

let _ = std::fs::OpenOptions::new()
.create(true)
.truncate(true)
.write(true)
.open(&ctl)
.expect("failed to create lock file");
Expand Down Expand Up @@ -146,6 +148,7 @@ fn wait_lock_times_out() {

let _ = std::fs::OpenOptions::new()
.create(true)
.truncate(true)
.write(true)
.open(&ctl)
.expect("failed to create lock file");
Expand Down

0 comments on commit 7f02159

Please sign in to comment.