github.com/daixiang0/gci@v0.13.4/pkg/analyzer/errors_test.go (about) 1 package analyzer 2 3 import ( 4 "errors" 5 "testing" 6 7 "github.com/stretchr/testify/assert" 8 ) 9 10 func TestInvalidNumberOfFiles(t *testing.T) { 11 assert.True(t, errors.Is(InvalidNumberOfFilesInAnalysis{1, 2}, InvalidNumberOfFilesInAnalysis{})) 12 }