1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-02 22:17:45 +00:00

Merge pull request #2428 from jhscheer/cut_2424

cut: fix `-d=` (#2424)
This commit is contained in:
Sylvestre Ledru 2021-06-19 08:46:42 +02:00 committed by GitHub
commit e2a00b67ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

View file

@ -157,3 +157,12 @@ fn test_directory_and_no_such_file() {
.run()
.stderr_is("cut: some: No such file or directory\n");
}
#[test]
fn test_equal_as_delimiter() {
new_ucmd!()
.args(&["-f", "2", "-d="])
.pipe_in("--libdir=./out/lib")
.succeeds()
.stdout_only("./out/lib\n");
}