mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-15 20:05:13 +02:00
cargo fmt
This commit is contained in:
parent
bec7bbf96c
commit
3a35cd6c8f
294 changed files with 6809 additions and 3911 deletions
|
|
@ -768,7 +768,10 @@ mod tests {
|
|||
);
|
||||
emit(&event);
|
||||
|
||||
assert!(!log.exists(), "log must not be created when NYX_NO_TELEMETRY=1");
|
||||
assert!(
|
||||
!log.exists(),
|
||||
"log must not be created when NYX_NO_TELEMETRY=1"
|
||||
);
|
||||
|
||||
unsafe {
|
||||
std::env::remove_var("NYX_NO_TELEMETRY");
|
||||
|
|
@ -795,7 +798,9 @@ mod tests {
|
|||
.unwrap();
|
||||
let err = read_events(&log).expect_err("schema 0 must be rejected");
|
||||
match err {
|
||||
TelemetryReadError::SchemaMismatch { expected, found, .. } => {
|
||||
TelemetryReadError::SchemaMismatch {
|
||||
expected, found, ..
|
||||
} => {
|
||||
assert_eq!(expected, SCHEMA_VERSION);
|
||||
assert_eq!(found, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue