Skip to content

Commit

Permalink
Fix config value test
Browse files Browse the repository at this point in the history
  • Loading branch information
ioppermann committed Sep 20, 2023
1 parent 2167895 commit 20f7a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/value/os_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func TestDirValue(t *testing.T) {
val := NewDir(&x, "/foobar", memfs)

require.Equal(t, "/foobar", val.String())
require.Error(t, val.Validate())
require.NoError(t, val.Validate())
require.Equal(t, false, val.IsEmpty())

err = memfs.MkdirAll("/foobar", 0755)
Expand Down

0 comments on commit 20f7a5c

Please sign in to comment.