mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 06:42:42 +00:00
printf: add emoji character test
This commit is contained in:
parent
955640aac8
commit
fef84f7203
1 changed files with 5 additions and 0 deletions
|
@ -190,6 +190,11 @@ fn sub_num_int_char_const_in() {
|
|||
.args(&["ninety seven is %i", "'a"])
|
||||
.succeeds()
|
||||
.stdout_only("ninety seven is 97");
|
||||
|
||||
new_ucmd!()
|
||||
.args(&["emoji is %i", "'🙃"])
|
||||
.succeeds()
|
||||
.stdout_only("emoji is 128579");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue