|
1 | | -use dprint_core::configuration::get_nullable_value; |
2 | | -use dprint_core::configuration::get_nullable_vec; |
3 | | -use dprint_core::configuration::get_unknown_property_diagnostics; |
4 | | -use dprint_core::configuration::get_value; |
5 | 1 | use dprint_core::configuration::ConfigKeyMap; |
6 | 2 | use dprint_core::configuration::ConfigKeyValue; |
7 | 3 | use dprint_core::configuration::ConfigurationDiagnostic; |
8 | 4 | use dprint_core::configuration::GlobalConfiguration; |
9 | | -use dprint_core::configuration::ResolveConfigurationResult; |
10 | 5 | use dprint_core::configuration::RECOMMENDED_GLOBAL_CONFIGURATION; |
| 6 | +use dprint_core::configuration::ResolveConfigurationResult; |
| 7 | +use dprint_core::configuration::get_nullable_value; |
| 8 | +use dprint_core::configuration::get_nullable_vec; |
| 9 | +use dprint_core::configuration::get_unknown_property_diagnostics; |
| 10 | +use dprint_core::configuration::get_value; |
11 | 11 | use globset::GlobMatcher; |
12 | 12 | use handlebars::Handlebars; |
13 | 13 | use serde::Serialize; |
@@ -416,8 +416,8 @@ fn compute_cache_key_files_hash(cache_key_file_hashes: &[String]) -> Option<Stri |
416 | 416 | #[cfg(test)] |
417 | 417 | mod tests { |
418 | 418 | use super::*; |
419 | | - use dprint_core::configuration::resolve_global_config; |
420 | 419 | use dprint_core::configuration::ConfigKeyValue; |
| 420 | + use dprint_core::configuration::resolve_global_config; |
421 | 421 | use pretty_assertions::assert_eq; |
422 | 422 | use serde_json::json; |
423 | 423 |
|
@@ -635,9 +635,11 @@ mod tests { |
635 | 635 | result.diagnostics[0].property_name, |
636 | 636 | "commands[0].cacheKeyFiles" |
637 | 637 | ); |
638 | | - assert!(result.diagnostics[0] |
639 | | - .message |
640 | | - .starts_with("Unable to read file")); |
| 638 | + assert!( |
| 639 | + result.diagnostics[0] |
| 640 | + .message |
| 641 | + .starts_with("Unable to read file") |
| 642 | + ); |
641 | 643 | } |
642 | 644 |
|
643 | 645 | #[test] |
|
0 commit comments