mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-28 22:21:33 +02:00
Fix unused import warnings
This commit is contained in:
parent
f7771a4480
commit
da46e3ffb5
@ -196,6 +196,7 @@ mod platform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
#[cfg(target_family = "unix")]
|
||||||
mod process_tests {
|
mod process_tests {
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use std::thread;
|
use std::thread;
|
||||||
@ -217,7 +218,6 @@ mod process_tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(target_family = "unix")]
|
|
||||||
fn test_start() {
|
fn test_start() {
|
||||||
let process = Process::new("echo hi", vec![]);
|
let process = Process::new("echo hi", vec![]);
|
||||||
|
|
||||||
@ -225,7 +225,6 @@ mod process_tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(target_family = "unix")]
|
|
||||||
fn test_wait() {
|
fn test_wait() {
|
||||||
let file = Temp::new_file().unwrap();
|
let file = Temp::new_file().unwrap();
|
||||||
let path = file.to_path_buf();
|
let path = file.to_path_buf();
|
||||||
@ -236,7 +235,6 @@ mod process_tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(target_family = "unix")]
|
|
||||||
fn test_kill() {
|
fn test_kill() {
|
||||||
let file = Temp::new_file().unwrap();
|
let file = Temp::new_file().unwrap();
|
||||||
let path = file.to_path_buf();
|
let path = file.to_path_buf();
|
||||||
|
Loading…
Reference in New Issue
Block a user