1#![cfg(feature = "fmt")]
2use tracing_subscriber::filter::LevelFilter;
3
4#[test]
5fn fmt_sets_max_level_hint() {
6 tracing_subscriber::fmt()
7 .with_max_level(LevelFilter::DEBUG)
8 .init();
9 assert_eq!(LevelFilter::current(), LevelFilter::DEBUG);
10}
11