We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be091b3 commit dd1f91dCopy full SHA for dd1f91d
crates/cache/src/config/tests.rs
@@ -464,7 +464,10 @@ fn test_builder_default() {
464
fs::write(&cp, config_content).expect("Failed to write test config file");
465
let expected_config = CacheConfig::from_file(Some(&cp)).unwrap();
466
467
- let config = CacheConfig::new();
+ let mut config = CacheConfig::new();
468
+ config
469
+ .validate()
470
+ .expect("Failed to validate default config");
471
472
assert_eq!(config.directory, expected_config.directory);
473
assert_eq!(
0 commit comments