mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix multiple calls of init
This commit is contained in:
parent
d8edd70837
commit
dc92d0ab12
@ -645,7 +645,8 @@ mod tests {
|
|||||||
FmtSubscriber::builder()
|
FmtSubscriber::builder()
|
||||||
.with_max_level(Level::ERROR)
|
.with_max_level(Level::ERROR)
|
||||||
.with_env_filter(EnvFilter::from_default_env())
|
.with_env_filter(EnvFilter::from_default_env())
|
||||||
.init();
|
.try_init()
|
||||||
|
.unwrap_or_else(|_| ());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
Reference in New Issue
Block a user