diff --git a/tests/by-util/test_dmesg.rs b/tests/by-util/test_dmesg.rs
index d8d6836..a75f4a7 100644
--- a/tests/by-util/test_dmesg.rs
+++ b/tests/by-util/test_dmesg.rs
@@ -155,7 +155,8 @@ fn test_since_until() {
         .arg("--since=\"2024-11-19 17:47:32 +0700\"")
         .arg("--until=\"2024-11-19 18:55:52 +0700\"")
         .succeeds()
-        .stdout_only_fixture("test_since_until.expected");
+        .no_stderr()
+        .stdout_is_templated_fixture("test_since_until.expected", &[("\r\n", "\n")]);
 }
 
 #[test]