Skip to content

Commit

Permalink
Fix clippy again
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky committed Feb 15, 2024
1 parent 50c55cf commit a072291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cache/readonly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ mod test {
#[test]
fn readonly_storage_forwards_preprocessor_cache_mode_config() {
let storage_no_preprocessor_cache = ReadOnlyStorage(Arc::new(MockStorage::new(None, false)));
assert_eq!(storage_no_preprocessor_cache.preprocessor_cache_mode_config().use_preprocessor_cache_mode, false);
assert!(!storage_no_preprocessor_cache.preprocessor_cache_mode_config().use_preprocessor_cache_mode);

let storage_with_preprocessor_cache = ReadOnlyStorage(Arc::new(MockStorage::new(None, true)));
assert_eq!(storage_with_preprocessor_cache.preprocessor_cache_mode_config().use_preprocessor_cache_mode, true);
assert!(storage_with_preprocessor_cache.preprocessor_cache_mode_config().use_preprocessor_cache_mode);
}

#[test]
Expand Down

0 comments on commit a072291

Please sign in to comment.