Skip to content

Commit

Permalink
test: fix test on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <[email protected]>
  • Loading branch information
sagikazarmark committed Jun 4, 2024
1 parent 5b2c981 commit dcb3a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ func TestGetConfigFile(t *testing.T) {
v.SetConfigName("not-config")

filename, err := v.getConfigFile()
assert.Equal(t, "/etc/viper/config.yaml", filename)
assert.Equal(t, testutil.AbsFilePath(t, "/etc/viper/config.yaml"), testutil.AbsFilePath(t, filename))
assert.NoError(t, err)
})
}
Expand Down

0 comments on commit dcb3a1e

Please sign in to comment.