From: Lars Ingebrigtsen Date: Tue, 4 Aug 2020 15:34:21 +0000 (+0200) Subject: Fix previous network stream test X-Git-Tag: emacs-28.0.90~6831 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=89dbd0838b980f6ef58fa0f614bd743f86ec1c74;p=emacs.git Fix previous network stream test * test/lisp/net/network-stream-tests.el (network-test--resolve-system-name): There's only one ipv6 localhost address. --- diff --git a/test/lisp/net/network-stream-tests.el b/test/lisp/net/network-stream-tests.el index f44682e1edb..cf416155e50 100644 --- a/test/lisp/net/network-stream-tests.el +++ b/test/lisp/net/network-stream-tests.el @@ -142,8 +142,8 @@ ;; IPv4 localhost addresses start with 127. (= (elt address 0) 127)) (and (= (length address) 9) - ;; IPv6 localhost addresses start with 0. - (= (elt address 0) 0))) + ;; IPv6 localhost address. + (equal address [0 0 0 0 0 0 0 1 0]))) return t)) (ert-deftest echo-server-with-dns ()