Rename indexOf.wren and startsWith.wren test files to index_of.wren and starts_with.wren respectively, fix missing trailing newlines, update string class documentation to clarify UTF-8 storage and move the note about incorrect UTF-8 handling in the index operator, and remove unnecessary parentheses in string_indexOf native return.
2 lines
86 B
Plaintext
2 lines
86 B
Plaintext
IO.print("abcd".startsWith(null)) // expect runtime error: Argument must be a string.
|