fix typo in script

This commit is contained in:
Matthias Krüger 2018-12-12 09:17:43 +01:00
parent f26c39bab7
commit 7fe39c9c6e

View File

@ -41,7 +41,7 @@ for file in `find tests -not -path "tests/ui/methods.rs" -not -path "tests/ui/fo
rustfmt ${file} --check || echo "${file} needs reformatting!" ; needs_formatting=true
done
if [ "${needs_reformatting}" = true] ; then
if [ "${needs_reformatting}" = true ] ; then
echo "Tests need reformatting!"
exit 2
fi