Use unused result in test: set_logger()

This commit is contained in:
Matthias Beyer 2016-01-05 17:31:05 +01:00
parent b43a68d10a
commit 0bdd548eab

View file

@ -169,7 +169,12 @@ mod test {
let lvl = LogLevelFilter::Debug;
max_log_lvl.set(lvl);
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");
}