From a56b75f7be15672abcd0f9166392de74982cf9a2 Mon Sep 17 00:00:00 2001 From: Fuad Ismail Date: Wed, 27 Nov 2024 00:53:44 +0700 Subject: [PATCH] tests/dmesg: handle added carriage return when fixture is checked out on Windows. --- tests/by-util/test_dmesg.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/by-util/test_dmesg.rs b/tests/by-util/test_dmesg.rs index 51642e6..87c977e 100644 --- a/tests/by-util/test_dmesg.rs +++ b/tests/by-util/test_dmesg.rs @@ -70,7 +70,7 @@ fn test_kmsg_time_format(format: &str) { .arg(time_format_arg) .succeeds() .no_stderr() - .stdout_is_fixture(expected_output); + .stdout_is_templated_fixture(expected_output, &[("\r\n", "\n")]); } #[test]