Files
coredns/.presubmit/import-testing

10 lines
265 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
echo "** presubmit/$(basename $0)"
# Check to make sure "testing" is not imported
if [[ $(go list -f '{{ join .Deps " "}}') == *" testing "* ]]; then
echo "** presubmit/$(basename $0): please remove any 'import \"testing\"'"
exit 1
fi