mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
10 lines
257 B
Plaintext
10 lines
257 B
Plaintext
|
|
#!/bin/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
|