mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 22:32:31 +00:00
21 lines
374 B
Rust
21 lines
374 B
Rust
extern crate log_settings;
|
|
|
|
#[test]
|
|
fn smoke() {
|
|
log_settings::settings().indentation = 5;
|
|
}
|
|
|
|
#[test]
|
|
fn set_get() {
|
|
{
|
|
log_settings::settings().indentation = 6;
|
|
}
|
|
assert_eq!(log_settings::settings().indentation, 6);
|
|
}
|
|
|
|
#[test]
|
|
fn set_get2() {
|
|
log_settings::settings().indentation = 42;
|
|
assert_eq!(log_settings::settings().indentation, 42);
|
|
}
|