[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 95e218a: Use in nsm-tests

From: Robert Pluim
Subject: master 95e218a: Use in nsm-tests
Date: Tue, 26 Nov 2019 13:27:52 -0500 (EST)

branch: master
commit 95e218af145d843750c9f05ae7682230a36044a6
Author: Robert Pluim <address@hidden>
Commit: Robert Pluim <address@hidden>

    Use in nsm-tests
    Winsock doesn't like "127.1"
    * test/lisp/net/nsm-tests.el (nsm-check-local-subnet-ipv4): Spell
    numeric localhost as "" instead of "127.1".
 test/lisp/net/nsm-tests.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/lisp/net/nsm-tests.el b/test/lisp/net/nsm-tests.el
index bf6ac04..f354437 100644
--- a/test/lisp/net/nsm-tests.el
+++ b/test/lisp/net/nsm-tests.el
@@ -42,11 +42,11 @@
     (should-error (nsm-network-same-subnet local-ip wrong-length-mask 
     (should (eq nil (nsm-network-same-subnet local-ip wrong-mask 
     (should (eq t (nsm-should-check "google.com")))
-    (should (eq t (nsm-should-check "127.1")))
+    (should (eq t (nsm-should-check "")))
     (should (eq t (nsm-should-check "localhost")))
     (let ((nsm-trust-local-network t))
       (should (eq t (nsm-should-check "google.com")))
-      (should (eq nil (nsm-should-check "127.1")))
+      (should (eq nil (nsm-should-check "")))
       (should (eq nil (nsm-should-check "localhost"))))))
 ;; FIXME This will never return true, since

reply via email to

[Prev in Thread] Current Thread [Next in Thread]