fn testErrorEncode(codePoint: u21, array: []u8, expectedErr: anyerror) !void
fn testErrorEncode(codePoint: u21, array: []u8, expectedErr: anyerror) !void { try testing.expectError(expectedErr, utf8Encode(codePoint, array)); }