mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
fixed tstrimpl (#20452)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user