diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2018-07-11 21:35:10 +1200 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2018-07-24 15:46:39 +1200 |
| commit | 481e85cc5847b02458288cc068816625a21dcfad (patch) | |
| tree | 693e54480c6fa7fc3ebde8ba111da39d72291b6a /src/test | |
| parent | f0fe9c3c4acb4eafba5a552a2823e6997e75a3f4 (diff) | |
formatting
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/mod.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/test/mod.rs b/src/test/mod.rs index 63b5f244b90..ba4607be37c 100644 --- a/src/test/mod.rs +++ b/src/test/mod.rs @@ -514,8 +514,7 @@ fn read_significant_comments(file_name: &Path) -> HashMap<String, String> { .to_owned(), ) }) - }) - .collect() + }).collect() } // Compare output to input. @@ -884,8 +883,8 @@ fn configuration_snippet_tests() { fs::File::open(Path::new(CONFIGURATIONS_FILE_NAME)) .expect(&format!("Couldn't read file {}", CONFIGURATIONS_FILE_NAME)), ).lines() - .map(|l| l.unwrap()) - .enumerate(); + .map(|l| l.unwrap()) + .enumerate(); let mut code_blocks: Vec<ConfigCodeBlock> = Vec::new(); let mut hash_set = Config::hash_set(); @@ -961,5 +960,5 @@ fn verify_check_works() { "--check", temp_file.path.to_str().unwrap(), ]).succeeds() - .unwrap(); + .unwrap(); } |
