complement icon indicating copy to clipboard operation
complement copied to clipboard

Test unit length compliance (255 bytes vs unicode points)

Open ShadowJonathan opened this issue 3 years ago • 1 comments

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:

  • type
  • state_key
  • user_id

ShadowJonathan avatar Oct 21 '22 09:10 ShadowJonathan

And sender.

neilalexander avatar Oct 21 '22 09:10 neilalexander