Avoid crying if we can't initialise the logger.

This commit is contained in:
Gav Wood 2015-12-01 22:44:18 +01:00
parent 9a5be1eee4
commit c1c3152094
1 changed files with 2 additions and 2 deletions

View File

@ -589,7 +589,7 @@ mod tests {
#[test]
fn test_at_dog() {
env_logger::init().unwrap();
env_logger::init().ok();
let mut t = TrieDB::new_memory();
let v: Vec<(Vec<u8>, Vec<u8>)> = vec![
(From::from("do"), From::from("verb")),
@ -617,7 +617,7 @@ mod tests {
#[test]
fn playpen() {
env_logger::init().unwrap();
env_logger::init().ok();
let big_value = b"00000000000000000000000000000000";