Skip to content

Commit

Permalink
split: fix windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zhitkoff committed Sep 7, 2023
1 parent 3be284e commit 8883f01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/by-util/test_split.rs
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@ fn test_number_n() {
assert_eq!(file_read("xac"), "klmno");
assert_eq!(file_read("xad"), "pqrst");
assert_eq!(file_read("xae"), "uvwxyz\n");
#[cfg(unix)]
new_ucmd!()
.args(&["--number=100", "/dev/null"])
.succeeds()
Expand All @@ -825,6 +826,7 @@ fn test_number_kth_of_n() {
.args(&["-e", "--number=99/100", "asciilowercase.txt"])
.succeeds()
.stdout_only("");
#[cfg(unix)]
new_ucmd!()
.args(&["--number=3/10", "/dev/null"])
.succeeds()
Expand Down

0 comments on commit 8883f01

Please sign in to comment.