Avoid crying if we can't initialise the logger.
This commit is contained in:
parent
9a5be1eee4
commit
c1c3152094
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user