Remove flawed test that assumed (eq? 1/2 2/4) would return false.
authorMark H Weaver <mhw@netris.org>
Mon, 18 Feb 2013 23:44:15 +0000 (18:44 -0500)
committerMark H Weaver <mhw@netris.org>
Mon, 18 Feb 2013 23:44:15 +0000 (18:44 -0500)
* test-suite/tests/hash.test ("hash-count"): Remove flawed test.

test-suite/tests/hash.test

index 72aa0c4..cb6b5cc 100644 (file)
                    (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)
                  (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