Remove unneeded mut modifier in test (#534)
This commit is contained in:
parent
fd7e8d1b7b
commit
fd8f3bb415
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ fn book_with_a_reserved_filename_does_not_build() {
|
||||||
let mut summary_file = fs::File::create(summary_path).unwrap();
|
let mut summary_file = fs::File::create(summary_path).unwrap();
|
||||||
writeln!(summary_file, "[print](print.md)").unwrap();
|
writeln!(summary_file, "[print](print.md)").unwrap();
|
||||||
|
|
||||||
let mut md = MDBook::load(tmp_dir.path()).unwrap();
|
let md = MDBook::load(tmp_dir.path()).unwrap();
|
||||||
let got = md.build();
|
let got = md.build();
|
||||||
assert!(got.is_err());
|
assert!(got.is_err());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue