nim-eth/tests/rlp/test_json_suite.nim
2020-04-18 10:17:59 +02:00

15 lines
270 B
Nim

{.used.}
import
os, strutils, strformat,
util/json_testing
template sourceDir: string = currentSourcePath.rsplit(DirSep, 1)[0]
const casesDir = &"{sourceDir}{DirSep}cases{DirSep}"
for file in walkDirRec(casesDir):
if file.endsWith("json"):
runTests(file)