💚 added tests #1198

Test every prefix of Unicode sequences against the different dump functions.
parent c5821d91
...@@ -442,6 +442,7 @@ class serializer ...@@ -442,6 +442,7 @@ class serializer
string_buffer[bytes++] = 'f'; string_buffer[bytes++] = 'f';
string_buffer[bytes++] = 'f'; string_buffer[bytes++] = 'f';
string_buffer[bytes++] = 'd'; string_buffer[bytes++] = 'd';
bytes_after_last_accept = bytes;
} }
// continue processing the string // continue processing the string
......
...@@ -10394,6 +10394,7 @@ class serializer ...@@ -10394,6 +10394,7 @@ class serializer
string_buffer[bytes++] = 'f'; string_buffer[bytes++] = 'f';
string_buffer[bytes++] = 'f'; string_buffer[bytes++] = 'f';
string_buffer[bytes++] = 'd'; string_buffer[bytes++] = 'd';
bytes_after_last_accept = bytes;
} }
// continue processing the string // continue processing the string
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment