Skip to content

Commit

Permalink
fixed tstrimpl (nim-lang#20452)
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq authored and capocasa committed Mar 31, 2023
1 parent 7147f18 commit 5d965ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/stdlib/tstrimpl.nim
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5d965ce

Please sign in to comment.