fixed tstrimpl (#20452)

This commit is contained in:
Andreas Rumpf
2022-09-29 09:41:00 +02:00
committed by GitHub
parent a8cc5d1379
commit 77a65d3c33

View File

@@ -1,5 +1,7 @@
import std/private/strimpl
import std/assertions
doAssert find(cstring"Hello Nim", cstring"Nim") == 6
doAssert find(cstring"Hello Nim", cstring"N") == 6
doAssert find(cstring"Hello Nim", cstring"I") == -1