Closed liz3 closed 2 weeks ago
@Jason2605 I wanted to bump this
Sorry somehow missed this (emails get buried sometimes, need to be more vigilant checking this repo, apologies). Oh wow, that's really bad from me, yeah this is an issue
Fixed as part of #749
Is there an existing issue for this?
Current Behavior
This testcase:
Passes in the current builds.
Expected Behavior
I was a bit confused because this test failed over and over in my current endavours of hacking on utf8 support, until i looked somewhat closer at the test:
The third occurance of
Dictu
is at index 32, not at 37= index + search length! So this seams to be a bug? in the current implementation of find?Steps To Reproduce
Run the string tests for find:
dictu tests/strings/find.du
Anything else?
Current test reference: https://github.com/dictu-lang/Dictu/blob/develop/tests/strings/find.du#L24