mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 20:17:45 +00:00
rewrite tests for cargo compat, decoupled directory, output handling
This commit is contained in:
parent
b20b2cca19
commit
a21c54e2cd
165 changed files with 4315 additions and 3538 deletions
27
tests/fixtures/nl/joinblanklines.txt
vendored
Normal file
27
tests/fixtures/nl/joinblanklines.txt
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
Nonempty
|
||||
Nonempty
|
||||
Followed by 10x empty
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Followed by 5x empty
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Followed by 4x empty
|
||||
|
||||
|
||||
|
||||
|
||||
Nonempty
|
||||
Nonempty
|
||||
Nonempty.
|
18
tests/fixtures/nl/section.txt
vendored
Normal file
18
tests/fixtures/nl/section.txt
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
\:\:\:
|
||||
HEADER1
|
||||
HEADER2
|
||||
\:\:
|
||||
BODY1
|
||||
BODY2
|
||||
\:
|
||||
FOOTER1
|
||||
FOOTER2
|
||||
\:\:\:
|
||||
NEXTHEADER1
|
||||
NEXTHEADER2
|
||||
\:\:
|
||||
NEXTBODY1
|
||||
NEXTBODY2
|
||||
\:
|
||||
NEXTFOOTER1
|
||||
NEXTFOOTER2
|
15
tests/fixtures/nl/simple.txt
vendored
Normal file
15
tests/fixtures/nl/simple.txt
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
L1
|
||||
L2
|
||||
L3
|
||||
L4
|
||||
L5
|
||||
L6
|
||||
L7
|
||||
L8
|
||||
L9
|
||||
L10
|
||||
L11
|
||||
L12
|
||||
L13
|
||||
L14
|
||||
L15
|
Loading…
Add table
Add a link
Reference in a new issue