summaryrefslogtreecommitdiff
path: root/cli/disk_cache.rs
diff options
context:
space:
mode:
authorYusuke Tanaka <yusuktan@maguro.dev>2021-06-18 04:56:30 +0900
committerGitHub <noreply@github.com>2021-06-17 15:56:30 -0400
commit8031644e65647bdc3a6a0561ad31da9228e9723d (patch)
treefb2e86a305e784583770e5e27694243d9f67b79b /cli/disk_cache.rs
parent2a66d5de01b584b7138084eb427c9ac09c254986 (diff)
chore: upgrade Rust to 1.53.0 (#11021)
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]