Skip to content

Commit

Permalink
internal/ini: fix dropped test error (#4306)
Browse files Browse the repository at this point in the history
This fixes a dropped err variable in the tests for internal/ini.
  • Loading branch information
alrs committed Mar 15, 2022
1 parent 7a84b13 commit 8b5f83e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/ini/walker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ import (
func TestValidDataFiles(t *testing.T) {
const expectedFileSuffix = "_expected"
filepath.Walk("./testdata/valid", func(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}
if strings.HasSuffix(path, expectedFileSuffix) {
return nil
}
Expand Down

0 comments on commit 8b5f83e

Please sign in to comment.