aboutsummaryrefslogtreecommitdiff
path: root/cc/tests/cc_env.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cc/tests/cc_env.rs')
-rw-r--r--cc/tests/cc_env.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/cc/tests/cc_env.rs b/cc/tests/cc_env.rs
index f9386d7..e862fea 100644
--- a/cc/tests/cc_env.rs
+++ b/cc/tests/cc_env.rs
@@ -2,8 +2,8 @@ extern crate cc;
extern crate tempdir;
use std::env;
-use std::path::Path;
use std::ffi::OsString;
+use std::path::Path;
mod support;
use support::Test;
@@ -63,14 +63,16 @@ fn ccache_env_flags() {
.cflags_env()
.into_string()
.unwrap()
- .contains("ccache") == false
+ .contains("ccache")
+ == false
);
assert!(
compiler
.cflags_env()
.into_string()
.unwrap()
- .contains(" lol-this-is-not-a-compiler") == false
+ .contains(" lol-this-is-not-a-compiler")
+ == false
);
env::set_var("CC", "");