ci: Add test for Windows as well
Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
parent
75e2ea1959
commit
3e8ec39875
|
@ -11,3 +11,12 @@ fn unix_sleep() {
|
|||
assert!(status.success());
|
||||
});
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
#[test]
|
||||
fn windows_sleep() {
|
||||
block_on(async {
|
||||
let status = Command::new("timeout").arg("5").status().await.unwrap();
|
||||
assert!(status.success());
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue