mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-07-28 23:19:57 -04:00
improve typecheck errors parsing
This commit is contained in:
parent
55a18ae18a
commit
dba3907ff3
7 changed files with 72 additions and 42 deletions
test
|
@ -24,7 +24,8 @@ func TestEmptyDirRun(t *testing.T) {
|
|||
|
||||
func TestNotExistingDirRun(t *testing.T) {
|
||||
testshared.NewLintRunner(t).Run(getTestDataDir("no_such_dir")).
|
||||
ExpectHasIssue(`cannot find package \"./testdata/no_such_dir\"`)
|
||||
ExpectExitCode(exitcodes.WarningInTest).
|
||||
ExpectOutputContains(`cannot find package \"./testdata/no_such_dir\"`)
|
||||
}
|
||||
|
||||
func TestSymlinkLoop(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue