Files
mercury/tests/hard_coded/string_count_codepoints_ilseq.exp
Peter Wang 250b5bcc2e Define behaviour of string.count_codepoints with ill-formed sequences.
library/string.m:
    Make each code unit in an ill-formed sequence contribute one
    to the value of string.count_codepoints.

tests/hard_coded/Mmakefile:
tests/hard_coded/string_count_codepoints_ilseq.exp:
tests/hard_coded/string_count_codepoints_ilseq.exp2:
tests/hard_coded/string_count_codepoints_ilseq.m:
    Add test case.
2019-10-24 09:14:46 +11:00

2 lines
2 B
Plaintext