mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-30 09:05:54 +00:00
cargo clippy warning
This commit is contained in:
1 parent
a4ed50e1f0
commit
5d92f07e21
2 files changed
+1
-18
No files matched your search
+1
-1
@@ -481,7 +481,7 @@ mod tests {
|
|||||||
|
|
||||||
use super::*;
|
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 output = vec![];
|
||||||
let mut printer = Printer::new(&mut output, false, true, true, BorderStyle::Unicode, true);
|
let mut printer = Printer::new(&mut output, false, true, true, BorderStyle::Unicode, true);
|
||||||
|
|
||||||
|
|||||||
@@ -270,21 +270,4 @@ mod display_settings {
|
|||||||
└─────────────────────────┴─────────────────────────┴────────┴────────┘\n",
|
└─────────────────────────┴─────────────────────────┴────────┴────────┘\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",
|
|
||||||
// );
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user