printf: add emoji character test

This commit is contained in:
Terts Diepraam 2023-11-17 14:47:08 +01:00
parent 955640aac8
commit fef84f7203

View file

@ -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]