10 lines
172 B
Bash
10 lines
172 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
git grep 'testify/assert"' | \
|
||
|
grep -e '^[^:]*\.go' | \
|
||
|
awk '{
|
||
|
print "error: please use testify/require instead of testify/assert"
|
||
|
print
|
||
|
exit 1
|
||
|
}'
|