Use unused result in test: set_logger()
This commit is contained in:
parent
b43a68d10a
commit
0bdd548eab
1 changed files with 6 additions and 1 deletions
|
@ -169,7 +169,12 @@ mod test {
|
||||||
let lvl = LogLevelFilter::Debug;
|
let lvl = LogLevelFilter::Debug;
|
||||||
max_log_lvl.set(lvl);
|
max_log_lvl.set(lvl);
|
||||||
Box::new(ImagLogger::new(lvl.to_log_level().unwrap()))
|
Box::new(ImagLogger::new(lvl.to_log_level().unwrap()))
|
||||||
});
|
})
|
||||||
|
.map_err(|e| {
|
||||||
|
println!("Error setting logger: {:?}", e);
|
||||||
|
assert!(false);
|
||||||
|
})
|
||||||
|
.ok();
|
||||||
debug!("Init logger for test");
|
debug!("Init logger for test");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue