Skip to content

Commit

Permalink
fixed tstrimpl (#20452)
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq authored Sep 29, 2022
1 parent a8cc5d1 commit 77a65d3
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 77a65d3

Please sign in to comment.