diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-10-01 14:45:50 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-10-01 14:45:50 +0200 |
commit | 1eb140881b26328ed1b17615fee32427baafadf6 (patch) | |
tree | b1364beef0d67ba33718750c070d351b3a23c3b9 /tests/file_yaml.rs | |
parent | 6c51d3b6b2dbe49d1b40fd0f0326b73f16357f72 (diff) |
Run cargo-fmt
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'tests/file_yaml.rs')
-rw-r--r-- | tests/file_yaml.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/file_yaml.rs b/tests/file_yaml.rs index 8f7814e..59174e6 100644 --- a/tests/file_yaml.rs +++ b/tests/file_yaml.rs @@ -70,12 +70,15 @@ fn test_error_parse() { let mut c = Config::default(); let res = c.merge(File::new("tests/Settings-invalid", FileFormat::Yaml)); - let path_with_extension : PathBuf = ["tests", "Settings-invalid.yaml"].iter().collect(); + let path_with_extension: PathBuf = ["tests", "Settings-invalid.yaml"].iter().collect(); assert!(res.is_err()); assert_eq!( res.unwrap_err().to_string(), - format!("while parsing a block mapping, did not find expected key at \ - line 2 column 1 in {}", path_with_extension.display()) + format!( + "while parsing a block mapping, did not find expected key at \ + line 2 column 1 in {}", + path_with_extension.display() + ) ); } |