tests: use succeeds() instead of run()
This commit is contained in:
@@ -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")]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user