diff options
author | einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com> | 2024-02-24 14:02:27 +0100 |
---|---|---|
committer | einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com> | 2024-02-24 14:02:27 +0100 |
commit | 83b00bc653130cfbcc75b4a3bbfb2ffe6af85d8e (patch) | |
tree | 890bca843b496cdaabd67f77ae1f172522f8058b /tests/integration_tests.rs | |
parent | f041ff8c5f986e9e83a85615df86cbaf90ac79e0 (diff) |
Rename `--squeeze` to `--squeeze-blank`
Diffstat (limited to 'tests/integration_tests.rs')
-rw-r--r-- | tests/integration_tests.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index 4d595031..61537bee 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -209,20 +209,20 @@ fn line_range_multiple() { } #[test] -fn squeeze() { +fn squeeze_blank() { bat() .arg("empty_lines.txt") - .arg("--squeeze") + .arg("--squeeze-blank") .assert() .success() .stdout("line 1\n\nline 5\n\nline 20\nline 21\n\nline 24\n\nline 26\n\nline 30\n"); } #[test] -fn squeeze_line_numbers() { +fn squeeze_blank_line_numbers() { bat() .arg("empty_lines.txt") - .arg("--squeeze") + .arg("--squeeze-blank") .arg("--decorations=always") .arg("--number") .assert() @@ -234,7 +234,7 @@ fn squeeze_line_numbers() { fn squeeze_limit() { bat() .arg("empty_lines.txt") - .arg("--squeeze") + .arg("--squeeze-blank") .arg("--squeeze-limit=2") .assert() .success() @@ -242,7 +242,7 @@ fn squeeze_limit() { bat() .arg("empty_lines.txt") - .arg("--squeeze") + .arg("--squeeze-blank") .arg("--squeeze-limit=5") .assert() .success() @@ -253,7 +253,7 @@ fn squeeze_limit() { fn squeeze_limit_line_numbers() { bat() .arg("empty_lines.txt") - .arg("--squeeze") + .arg("--squeeze-blank") .arg("--squeeze-limit=2") .arg("--decorations=always") .arg("--number") @@ -263,7 +263,7 @@ fn squeeze_limit_line_numbers() { bat() .arg("empty_lines.txt") - .arg("--squeeze") + .arg("--squeeze-blank") .arg("--squeeze-limit=5") .arg("--decorations=always") .arg("--number") |