Files
chandra/compositor/wayland/wire_test.mbt
2026-11-24 22:08:34 -08:00

9 lines
249 B
MoonBit

///|
test "WireReader::str decodes UTF-8" {
let w = WireWriter::new()
w.str("Session Chooser — Kate é😀")
let r = WireReader::from_array(w.finish_msg(1U, 0U).to_array(), 8)
inspect(r.str(), content="Session Chooser — Kate é😀")
}