fixed tstrimpl (#20452)
This commit is contained in:
parent
a8cc5d1379
commit
77a65d3c33
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue