1 #[test] multiple_init()2fn multiple_init() { 3 let first_init = logger::init(Default::default()); 4 let second_init = logger::init(Default::default()); 5 6 assert!(first_init); 7 assert!(!second_init); 8 }
1 #[test] multiple_init()2fn multiple_init() { 3 let first_init = logger::init(Default::default()); 4 let second_init = logger::init(Default::default()); 5 6 assert!(first_init); 7 assert!(!second_init); 8 }