sing-box/dns/transport/local/resolv_test.go
Youfu Zhang fba802effd
Fix libresolv initialization
Fixes: 9533031891c0 ("Update libresolv usage")

Signed-off-by: Youfu Zhang <zhangyoufu@gmail.com>
2025-08-10 20:06:28 +08:00

14 lines
225 B
Go

package local
import (
"context"
"testing"
"github.com/stretchr/testify/require"
)
func TestDNSReadConfig(t *testing.T) {
t.Parallel()
require.NoError(t, dnsReadConfig(context.Background(), "/etc/resolv.conf").err)
}