diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-04 17:34:21 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-04 17:34:21 +0200 |
commit | 89dbd0838b980f6ef58fa0f614bd743f86ec1c74 (patch) | |
tree | 43a2c1ab0dad4bedb36d9ce5fa334e005a7187ca | |
parent | 99e9bdcd4105ac70f8f7ee06f2450cdbb15dbf3b (diff) | |
download | emacs-89dbd0838b980f6ef58fa0f614bd743f86ec1c74.tar.gz |
Fix previous network stream test
* test/lisp/net/network-stream-tests.el
(network-test--resolve-system-name): There's only one ipv6
localhost address.
-rw-r--r-- | test/lisp/net/network-stream-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
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 () |