Skip to content

Commit 59229bc

Browse files
committed
fix: Test result of everything enabled has changed
1 parent b0d4760 commit 59229bc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Diff for: src/fmt/mod.rs

+6-3
Original file line numberDiff line numberDiff line change
@@ -833,8 +833,8 @@ mod tests {
833833
module_path: false,
834834
target: false,
835835
level: true,
836-
source_file: true,
837-
source_line_number: true,
836+
source_file: false,
837+
source_line_number: false,
838838
kv_format: &default_kv_format,
839839
written_header_value: false,
840840
indent: None,
@@ -878,6 +878,9 @@ mod tests {
878878
},
879879
);
880880

881-
assert_eq!("[INFO test::path target] log\nmessage a=1 b=2\n", written);
881+
assert_eq!(
882+
"[INFO test::path test.rs:42 target] log\nmessage a=1 b=2\n",
883+
written
884+
);
882885
}
883886
}

0 commit comments

Comments
 (0)