use doAssert in tests (#16486)
This commit is contained in:
parent
f9a15dbae9
commit
6d442a40a6
78 changed files with 1056 additions and 1056 deletions
|
|
@ -27,7 +27,7 @@ for kind, key, val in getopt():
|
|||
of "version", "v": writeVersion()
|
||||
else:
|
||||
writeLine(stdout, "Unknown command line option: ", key, ": ", val)
|
||||
of cmdEnd: assert(false) # cannot happen
|
||||
of cmdEnd: doAssert(false) # cannot happen
|
||||
if filename == "":
|
||||
# no filename has been given, so we show the help:
|
||||
writeHelp()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue