assemblyscript icon indicating copy to clipboard operation
assemblyscript copied to clipboard

Add two bytes and three bytes utf8 character tests for allocString

Open JesseCodeBones opened this issue 3 years ago • 0 comments

Currently the repo missed the tests for 2 bytes utf-8 character, 3 bytes utf-8 character and 4 bytes utf-8 character (4 bytes utf-8 character cannot bypass the parser phase, not sure if it is by design, for example charactor: 𝆑).

This PR attampts to add tests for global parameter name with utf-8 character, 3 bytes utf-8 character, AS will call allocString and alloc this utf-8 string to binary. image

  • [x] I've read the contributing guidelines
  • [x] I've added my name and email to the NOTICE file

JesseCodeBones avatar Sep 02 '22 06:09 JesseCodeBones