1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-02 05:57:46 +00:00

Merge pull request #2518 from jfinkels/tac-no-line-separators-in-file

tac: handle no line separators in file
This commit is contained in:
Sylvestre Ledru 2021-07-31 09:44:29 +02:00 committed by GitHub
commit 00f6fce89d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View file

@ -68,3 +68,8 @@ fn test_invalid_input() {
.fails()
.stderr_contains("dir: read error: Invalid argument");
}
#[test]
fn test_no_line_separators() {
new_ucmd!().pipe_in("a").succeeds().stdout_is("a");
}