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