tests: use succeeds() instead of run()

This commit is contained in:
Daniel Hofstetter
2025-03-04 09:43:18 +01:00
parent 81afa8a7bb
commit 196f8407ae
2 changed files with 4 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ fn test_kmsg_json() {
.arg("--kmsg-file")
.arg("kmsg.input")
.arg("--json")
.run()
.succeeds()
.no_stderr()
.stdout_is_templated_fixture("test_kmsg_json.expected", &[("\r\n", "\n")]);
}