From 0e3bab7600dc438071b99144fb519f04c12b7713 Mon Sep 17 00:00:00 2001 From: Fuad Ismail Date: Fri, 15 Nov 2024 21:57:16 +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 7d749eb..129fa0e 100644 --- a/tests/by-util/test_dmesg.rs +++ b/tests/by-util/test_dmesg.rs @@ -17,5 +17,5 @@ fn test_kmsg_json() { .arg("--json") .run() .no_stderr() - .stdout_is_fixture("test_kmsg_json.expected"); + .stdout_is_templated_fixture("test_kmsg_json.expected", &[("\r\n", "\n")]); }