racket / rackunit

Other
18 stars 34 forks source link

check-equal? should work for multiple values #122

Closed rfindler closed 4 years ago

rfindler commented 4 years ago

Apologies if this has already been discussed; I didn't see an open issue about and in light of the (relatively) recent improvements about catching exceptions I wanted to ask for this improvment too, namely that this test case should pass:

(check-equal? (values 1 2) (values 1 2))

and this one should fail with a message that includes printing all five values and something about the numbers of values are different:

(check-equal? (values 1 2) (values 3 4 5))
rfindler commented 4 years ago

Oops, this is a duplicate of #71.