Welcome to mirror list, hosted at ThFree Co, Russian Federation.

detect-assert.sh « _support « workhorse - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 351cef763b5e34aa041a88c2c2dc29d3432d5cf6 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

git grep 'testify/assert"' | \
    grep -e '^[^:]*\.go' | \
    awk '{
  print "error: please use testify/require instead of testify/assert"
  print
  exit 1
}'