mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tr: disallow classes besides [:upper:]/[:lower:] in set2 when translating
Fixes issue #6342
This commit is contained in:
parent
ebcd86df07
commit
0d1bde2879
3 changed files with 76 additions and 49 deletions
|
@ -1364,3 +1364,8 @@ fn check_ignore_truncate_when_squeezing() {
|
|||
.no_stderr()
|
||||
.stdout_only("asdfqwer\n");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn check_disallow_blank_in_set2_when_translating() {
|
||||
new_ucmd!().args(&["-t", "1234", "[:blank:]"]).fails();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue