Skip to content

Commit

Permalink
cargo clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mkatychev committed Apr 22, 2022
1 parent 689cc22 commit c7ba1fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ mod tests {

use super::*;

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

Expand Down
17 changes: 0 additions & 17 deletions tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,21 +270,4 @@ mod display_settings {
└─────────────────────────┴─────────────────────────┴────────┴────────┘\n",
);
}

// #[test]
// fn display_offset_and_skip() {
// hexyl()
// .arg("hello_world_elf64")
// .arg("--color=never")
// .arg("--display-offset=0x20")
// .arg("--skip=0x10")
// .arg("--length=0x10")
// .assert()
// .success()
// .stdout(
// "┌────────┬─────────────────────────┬─────────────────────────┬────────┬────────┐\n\
// │00000030│ 02 00 3e 00 01 00 00 00 ┊ 00 10 40 00 00 00 00 00 │•0>0•000┊0•@00000│\n\
// └────────┴─────────────────────────┴─────────────────────────┴────────┴────────┘\n",
// );
// }
}

0 comments on commit c7ba1fa

Please sign in to comment.