This commit is contained in:
Mateusz Poliwczak 2022-11-16 11:47:20 +01:00
parent 84629d364d
commit 3e19043290
1 changed files with 1 additions and 1 deletions

View File

@ -2529,7 +2529,7 @@ func TestLookupOrderFilesNoSuchHost(t *testing.T) {
resolvConf := dnsConfig{servers: defaultNS}
if runtime.GOOS == "openbsd" {
// Set error to ErrNotExist, so the hostLookupOrder
// Set error to ErrNotExist, so that the hostLookupOrder
// returns hostLookupFiles for openbsd.
resolvConf.err = fs.ErrNotExist
}