mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 20:17:45 +00:00
Merge pull request #6445 from cvonelm/6341-tr-unaligned-upper
tr: A [:lower:]/[:upper:] in set2 must be matched in set1
This commit is contained in:
commit
38344edacf
2 changed files with 141 additions and 97 deletions
|
@ -1369,3 +1369,8 @@ fn check_ignore_truncate_when_squeezing() {
|
|||
fn check_disallow_blank_in_set2_when_translating() {
|
||||
new_ucmd!().args(&["-t", "1234", "[:blank:]"]).fails();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn check_class_in_set2_must_be_matched_in_set1() {
|
||||
new_ucmd!().args(&["-t", "1[:upper:]", "[:upper:]"]).fails();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue