nim-eth/tests/rlp/test_json_suite.nim
2019-05-30 22:01:07 +03:00

13 lines
260 B
Nim

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)