]> git.eshelyaron.com Git - emacs.git/commitdiff
Test 'comp-eq' should not assume any string hashing policy
authorAndrea Corallo <akrl@sdf.org>
Fri, 21 Feb 2020 18:59:46 +0000 (18:59 +0000)
committerAndrea Corallo <akrl@sdf.org>
Fri, 21 Feb 2020 19:00:59 +0000 (19:00 +0000)
test/src/comp-tests.el

index fc6543bcaeca1ecdcb4b9c002861416a533229ca..00a402287408020d0b4fe653b88678d167822577 100644 (file)
@@ -441,8 +441,7 @@ Check that the resulting binaries do not differ."
 (ert-deftest comp-eq ()
   (should (comp-test-eq 'a 'a))
   (should (comp-test-eq 5 5))
-  (should-not (comp-test-eq 'a 'b))
-  (should-not (comp-test-eq "x" "x")))
+  (should-not (comp-test-eq 'a 'b)))
 
 (ert-deftest comp-if ()
   (should (eq (comp-test-if 'a 'b) 'a))