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_eq!(first_init, true); 7 assert_eq!(second_init, false); 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_eq!(first_init, true); 7 assert_eq!(second_init, false); 8 }