Update tests/test.sh

Co-Authored-By: Jan Jurzitza <gh@webfreak.org>
This commit is contained in:
Brian Schott 2020-03-08 13:17:48 -07:00 committed by GitHub
parent 63a29ab757
commit b17304accd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ set +e
for source in expected_failures/*.d
do
if ../bin/dfmt "${source}" > /dev/null; then
echo "Expected failure on test ${source} but passed"
exit 1
fi
done