BUGFIX: better error message when loading of dynamic lib proc fails
This commit is contained in:
parent
f265c3e866
commit
27d7e3a0ae
4 changed files with 45 additions and 14 deletions
14
tests/tsplit.nim
Executable file
14
tests/tsplit.nim
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import strutils
|
||||
|
||||
var s = ""
|
||||
for w in split("|abc|xy|z", {'|'}):
|
||||
s.add("#")
|
||||
s.add(w)
|
||||
|
||||
if s == "#abc#xy#z":
|
||||
echo "true"
|
||||
else:
|
||||
echo "false"
|
||||
|
||||
#OUT true
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue