Fix spurious crash in commit bd3912e5.

This commit is contained in:
whitequark 2019-06-22 08:31:11 +00:00
parent be7750486f
commit 563434997c
1 changed files with 2 additions and 1 deletions

View File

@ -1833,7 +1833,8 @@ mod test {
}
}
log::set_logger(&LOGGER).unwrap();
// If it fails, that just means we've already set it to the same value.
let _ = log::set_logger(&LOGGER);
log::set_max_level(log::LevelFilter::Trace);
println!("");