mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
Merge pull request #7078 from jfinkels/tsort-split-whitespace
tsort: split edge data on any whitespace chars
This commit is contained in:
commit
e3acd5ab07
2 changed files with 62 additions and 46 deletions
|
@ -75,3 +75,11 @@ fn test_error_on_dir() {
|
|||
.fails()
|
||||
.stderr_contains("tsort: tsort_test_dir: read error: Is a directory");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_split_on_any_whitespace() {
|
||||
new_ucmd!()
|
||||
.pipe_in("a\nb\n")
|
||||
.succeeds()
|
||||
.stdout_only("a\nb\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue