Skip to content

Commit 9ec7893

Browse files
committed
Fix linter errors
1 parent d3b5a29 commit 9ec7893

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/by-util/test_od.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ fn test_traditional_offset_overflow_diagnosed() {
779779
.pipe_in(Vec::<u8>::new())
780780
.fails_with_code(1);
781781
if wasm {
782-
cmd.stderr_contains(&format!("od: {long_octal}:"));
782+
cmd.stderr_contains(format!("od: {long_octal}:"));
783783
} else {
784784
cmd.stderr_only(format!("od: {long_octal}: {erange}\n"));
785785
}
@@ -790,7 +790,7 @@ fn test_traditional_offset_overflow_diagnosed() {
790790
.pipe_in(Vec::<u8>::new())
791791
.fails_with_code(1);
792792
if wasm {
793-
cmd.stderr_contains(&format!("od: {long_decimal}:"));
793+
cmd.stderr_contains(format!("od: {long_decimal}:"));
794794
} else {
795795
cmd.stderr_only(format!("od: {long_decimal}: {erange}\n"));
796796
}
@@ -801,7 +801,7 @@ fn test_traditional_offset_overflow_diagnosed() {
801801
.pipe_in(Vec::<u8>::new())
802802
.fails_with_code(1);
803803
if wasm {
804-
cmd.stderr_contains(&format!("od: {long_hex}:"));
804+
cmd.stderr_contains(format!("od: {long_hex}:"));
805805
} else {
806806
cmd.stderr_only(format!("od: {long_hex}: {erange}\n"));
807807
}

0 commit comments

Comments
 (0)