summaryrefslogtreecommitdiff
path: root/cli/disk_cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/disk_cache.rs')
-rw-r--r--cli/disk_cache.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/disk_cache.rs b/cli/disk_cache.rs
index 0f5d16f98..d24acc3ab 100644
--- a/cli/disk_cache.rs
+++ b/cli/disk_cache.rs
@@ -170,12 +170,12 @@ mod tests {
let mut cache_location = temp_dir.path().to_owned();
assert!(fs::remove_dir(&cache_location).is_ok());
cache_location.push("foo");
- assert_eq!(cache_location.is_dir(), false);
+ assert!(!cache_location.is_dir());
let cache = DiskCache::new(&cache_location);
cache
.ensure_dir_exists(&cache.location)
.expect("Testing expect:");
- assert_eq!(cache_location.is_dir(), true);
+ assert!(cache_location.is_dir());
}
#[test]