summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 341de39..6d238f3 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -538,9 +538,7 @@ mod tests {
fn test_cli_arg_order_1() {
let mut cmd = Command::cargo_bin("hx").unwrap();
let assert = cmd.arg("-ar").arg("tests/files/tiny.txt").assert();
- assert
- .success()
- .code(0);
+ assert.success().code(0);
}
/// target/debug/hx tests/files/tiny.txt -ar
@@ -550,9 +548,7 @@ mod tests {
fn test_cli_arg_order_2() {
let mut cmd = Command::cargo_bin("hx").unwrap();
let assert = cmd.arg("tests/files/tiny.txt").arg("-ar").assert();
- assert
- .success()
- .code(0);
+ assert.success().code(0);
}
/// target/debug/hx --len tests/files/tiny.txt