From f4f7bb232e49ec4b671d4ba18a516b45ea6c5e15 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 7 Sep 2016 12:59:46 -0700 Subject: [PATCH] process: Fix a test on Windows --- tests/smoke.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/smoke.rs b/tests/smoke.rs index e3bce9632..8d5fd011f 100644 --- a/tests/smoke.rs +++ b/tests/smoke.rs @@ -48,5 +48,5 @@ fn simple() { let status = lp.run(&mut child).unwrap(); assert_eq!(status.code(), Some(2)); assert_eq!(child.id(), id); - assert!(child.kill().is_ok()); + drop(child.kill()); }