mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tests/ptx: added breakfile option tests
This commit is contained in:
parent
b0567670d1
commit
994dedd6d9
3 changed files with 58 additions and 0 deletions
|
@ -87,3 +87,19 @@ fn gnu_ext_disabled_output_width_70() {
|
|||
.succeeds()
|
||||
.stdout_only_fixture("gnu_ext_disabled_output_width_70.expected");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn gnu_ext_disabled_break_file() {
|
||||
new_ucmd!()
|
||||
.args(&["-G", "-b", "break_file", "input"])
|
||||
.succeeds()
|
||||
.stdout_only_fixture("gnu_ext_disabled_break_file.expected");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn gnu_ext_disabled_empty_word_regexp_ignores_break_file() {
|
||||
new_ucmd!()
|
||||
.args(&["-G", "-b", "break_file", "-R", "-W", "", "input"])
|
||||
.succeeds()
|
||||
.stdout_only_fixture("gnu_ext_disabled_rightward_no_ref.expected");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue