1
0
mirror of https://github.com/waku-org/nwaku.git synced 2025-01-24 05:39:21 +00:00

16 lines
370 B
Nim

import
strutils,
stew/byteutils, testutils/fuzzing,
../confutils
template fuzzCliParsing*(Conf: type) =
test:
block:
try:
let cfg = Conf.load(cmdLine = split(fromBytes(string, payload)),
printUsage = false,
quitOnFailure = false)
except ConfigurationError as err:
discard