Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
10
third-party/vendor/tracing-subscriber/tests/fmt_max_level_hint.rs
vendored
Normal file
10
third-party/vendor/tracing-subscriber/tests/fmt_max_level_hint.rs
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#![cfg(feature = "fmt")]
|
||||
use tracing_subscriber::filter::LevelFilter;
|
||||
|
||||
#[test]
|
||||
fn fmt_sets_max_level_hint() {
|
||||
tracing_subscriber::fmt()
|
||||
.with_max_level(LevelFilter::DEBUG)
|
||||
.init();
|
||||
assert_eq!(LevelFilter::current(), LevelFilter::DEBUG);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue