Additional test

This commit is contained in:
Tony Garnock-Jones 2014-05-01 14:06:25 -04:00
parent d3d50d0cc3
commit 0431a39cc1
1 changed files with 2 additions and 0 deletions

View File

@ -547,6 +547,8 @@
(check-equal? (intersect (b 'a) (b ?)) (rseq* struct:b 'a EOS EAB))
(check-equal? (intersect (b 'a) ?) (rseq* struct:b 'a EOS EAB))
(check-equal? (intersect (a 'a) (b 'a)) #f)
(check-exn #px"Cannot match on hash tables at present"
(lambda ()
(intersect (hash 'a 1 'b ?) (hash 'a ? 'b 2))))