mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-08-11 21:07:35 +08:00

Fixes: 9533031891c0 ("Update libresolv usage") Signed-off-by: Youfu Zhang <zhangyoufu@gmail.com>
14 lines
225 B
Go
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)
|
|
}
|