start of tests refactoring; sqlite3 new wrapper fixes
This commit is contained in:
parent
6bc16904ed
commit
d913fdb280
173 changed files with 206 additions and 238 deletions
14
tests/accept/run/tsplit.nim
Normal file
14
tests/accept/run/tsplit.nim
Normal 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