Skip to content

Commit c7ba1fa

Browse files
committed
cargo clippy warning
1 parent 689cc22 commit c7ba1fa

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ mod tests {
481481

482482
use super::*;
483483

484-
fn assert_print_all_output<Reader: Read>(input: Reader, expected_string: String) -> () {
484+
fn assert_print_all_output<Reader: Read>(input: Reader, expected_string: String) {
485485
let mut output = vec![];
486486
let mut printer = Printer::new(&mut output, false, true, true, BorderStyle::Unicode, true);
487487

tests/integration_tests.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -270,21 +270,4 @@ mod display_settings {
270270
└─────────────────────────┴─────────────────────────┴────────┴────────┘\n",
271271
);
272272
}
273-
274-
// #[test]
275-
// fn display_offset_and_skip() {
276-
// hexyl()
277-
// .arg("hello_world_elf64")
278-
// .arg("--color=never")
279-
// .arg("--display-offset=0x20")
280-
// .arg("--skip=0x10")
281-
// .arg("--length=0x10")
282-
// .assert()
283-
// .success()
284-
// .stdout(
285-
// "┌────────┬─────────────────────────┬─────────────────────────┬────────┬────────┐\n\
286-
// │00000030│ 02 00 3e 00 01 00 00 00 ┊ 00 10 40 00 00 00 00 00 │•0>0•000┊0•@00000│\n\
287-
// └────────┴─────────────────────────┴─────────────────────────┴────────┴────────┘\n",
288-
// );
289-
// }
290273
}

0 commit comments

Comments
 (0)