matrix-org / complement

Matrix compliance test suite
Apache License 2.0
61 stars 50 forks source link

Test unit length compliance (255 bytes vs unicode points) #531

Open ShadowJonathan opened 1 year ago

ShadowJonathan commented 1 year ago

This follows https://github.com/matrix-org/matrix-spec/issues/1001, I think it'd be good to add a test that essentially instigates this behaviour, trying out strings of emojis that are less than 255 codepoints, but are more than 255 bytes.

The only question left is how many of the different fields we're going to test, I'd suggest to at least check:

neilalexander commented 1 year ago

And sender.