nim-eth/tests/rlp/test_json_suite.nim

13 lines
260 B
Nim
Raw Normal View History

2019-02-05 12:01:10 +00:00
import
2019-05-30 15:33:59 +00:00
os, strutils, strformat,
2019-02-05 12:01:10 +00:00
util/json_testing
2019-05-30 15:33:59 +00:00
template sourceDir: string = currentSourcePath.rsplit(DirSep, 1)[0]
const casesDir = &"{sourceDir}{DirSep}cases{DirSep}"
for file in walkDirRec(casesDir):
2019-02-05 12:01:10 +00:00
if file.endsWith("json"):
runTests(file)