From 90a162323251bfda86d82b2a3c0c7b12ce8a0bb7 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Mon, 18 Feb 2013 18:44:15 -0500 Subject: [PATCH] Remove flawed test that assumed (eq? 1/2 2/4) would return false. * test-suite/tests/hash.test ("hash-count"): Remove flawed test. --- test-suite/tests/hash.test | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test-suite/tests/hash.test b/test-suite/tests/hash.test index 72aa0c478..cb6b5cc26 100644 --- a/test-suite/tests/hash.test +++ b/test-suite/tests/hash.test @@ -148,7 +148,7 @@ (hashq-set! table 1 'foo) (hashq-ref table 1)))) - ;; 1/2 and 2/4 are equal? and eqv? but not eq? + ;; 1/2 and 2/4 are equal? and eqv? (but not necessarily eq?) (pass-if (equal? 'foo (let ((table (make-hash-table))) (hash-set! table 1/2 'foo) @@ -157,10 +157,6 @@ (let ((table (make-hash-table))) (hashv-set! table 1/2 'foo) (hashv-ref table 2/4)))) - (pass-if (equal? #f - (let ((table (make-hash-table))) - (hashq-set! table 1/2 'foo) - (hashq-ref table 2/4)))) ;; (list 1 2) is equal? but not eqv? or eq? to another (list 1 2) (pass-if (equal? 'foo