Skip to content

Commit

Permalink
dmesg: remove useless format! in test
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Jan 10, 2025
1 parent c408c06 commit c07ff50
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/by-util/test_dmesg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,6 @@ fn test_since_until_invalid_time() {
new_ucmd!()
.arg(format!("{option}=definitely-invalid"))
.fails()
.stderr_only(format!(
"dmesg: invalid time value \"definitely-invalid\"\n"
));
.stderr_only("dmesg: invalid time value \"definitely-invalid\"\n");
}
}

0 comments on commit c07ff50

Please sign in to comment.