From 06b68d1367ff308087e9ba9ed9c55292257879b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20H=C3=A5kansson?= Date: Sun, 27 Jan 2019 13:21:12 +0100 Subject: [PATCH] test(binaryinstall): Add use for unix specifics in unix test --- binary-install/tests/all/download.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/binary-install/tests/all/download.rs b/binary-install/tests/all/download.rs index 2a33adc..4c722be 100644 --- a/binary-install/tests/all/download.rs +++ b/binary-install/tests/all/download.rs @@ -1,10 +1,11 @@ use binary_install::Download; use std::fs::OpenOptions; -use std::os::unix::fs::OpenOptionsExt; #[test] #[cfg(unix)] -fn it_returns_binary_name() { +fn it_returns_binary_name_for_unix() { + use std::os::unix::fs::OpenOptionsExt; + let binary_name = "wasm-pack"; let dir = tempfile::TempDir::new().unwrap();