Skip to content

Commit f67f108

Browse files
authored
Merge pull request #261 from cakebaker/mcookie_lslocks_fix_unused_import_warnings
mcookie, lslocks: fix "unused import" warnings in tests
2 parents f8e425b + c1bf33d commit f67f108

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/by-util/test_lslocks.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// For the full copyright and license information, please view the LICENSE
44
// file that was distributed with this source code.
55

6+
#[cfg(target_os = "linux")]
67
use crate::common::util::TestScenario;
78

89
#[test]

tests/by-util/test_mcookie.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
use std::io::Write;
77

8-
use tempfile::{NamedTempFile, TempDir};
8+
use tempfile::NamedTempFile;
99

1010
use crate::common::util::TestScenario;
1111

0 commit comments

Comments
 (0)