-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
Description
It seems that the ast checks all are counted as passed, even if one tries to write an failing check on purpose. It seems that when xmllint
doesnt find what one tries to search via --xpath
, it simply prints out XPath set is empty
to stderr, but exits with a non-zero status.
Example:
$ ./tester --ast ast_checks/while_condition.d | xmllint --xpath "//functionDeclaration[name = 'z']" -
XPath set is empty
xmllint version:
$ xmllint --version
xmllint: using libxml version 21105-GITv2.11.5
compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 HTTP DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ICU ISO8859X Unicode Regexps Automata Schemas Schematron Modules Debug Zlib Lzma