Skip to content

Commit

Permalink
fix: Test result of everything enabled has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
EriKWDev committed Dec 20, 2024
1 parent b0d4760 commit 59229bc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/fmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -833,8 +833,8 @@ mod tests {
module_path: false,
target: false,
level: true,
source_file: true,
source_line_number: true,
source_file: false,
source_line_number: false,
kv_format: &default_kv_format,
written_header_value: false,
indent: None,
Expand Down Expand Up @@ -878,6 +878,9 @@ mod tests {
},
);

assert_eq!("[INFO test::path target] log\nmessage a=1 b=2\n", written);
assert_eq!(
"[INFO test::path test.rs:42 target] log\nmessage a=1 b=2\n",
written
);
}
}

0 comments on commit 59229bc

Please sign in to comment.