diff --git a/workhorse/Makefile b/workhorse/Makefile index 267eaa47b579d729a61bfcc87f40a1d380c4fc43..ec937c50c2ce62e9645a1c99a90b3cae9f9a3ebd 100644 --- a/workhorse/Makefile +++ b/workhorse/Makefile @@ -147,7 +147,7 @@ testdata/scratch: mkdir -p testdata/scratch .PHONY: verify -verify: lint vet detect-context detect-assert detect-external-tests check-formatting staticcheck deps-check +verify: lint vet detect-context detect-external-tests check-formatting staticcheck deps-check .PHONY: lint lint: @@ -165,11 +165,6 @@ detect-context: $(call message,Verify: $@) _support/detect-context.sh -.PHONY: detect-assert -detect-assert: - $(call message,Verify: $@) - _support/detect-assert.sh - .PHONY: detect-external-tests detect-external-tests: $(call message,Verify: $@) diff --git a/workhorse/_support/detect-assert.sh b/workhorse/_support/detect-assert.sh deleted file mode 100755 index 351cef763b5e34aa041a88c2c2dc29d3432d5cf6..0000000000000000000000000000000000000000 --- a/workhorse/_support/detect-assert.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -git grep 'testify/assert"' | \ - grep -e '^[^:]*\.go' | \ - awk '{ - print "error: please use testify/require instead of testify/assert" - print - exit 1 -}'