Skip to content

Commit

Permalink
Merge pull request #192 from cakebaker/dmesg_fix_useless_format_warning
Browse files Browse the repository at this point in the history
dmesg: remove useless `format!` in test
  • Loading branch information
sylvestre authored Jan 18, 2025
2 parents 3a1cad2 + c07ff50 commit 231cdb8
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 231cdb8

Please sign in to comment.