Remove duplicate top-filter empty case.

original commit: 94a5f215b17b99467fd836fe1ff3c2eeb30dd8ed
This commit is contained in:
Eric Dobson 2014-03-14 18:38:49 -07:00
parent da368d9e46
commit bc979afe28
2 changed files with 4 additions and 5 deletions

View File

@ -113,11 +113,6 @@
(if (= (length ts) (length ts2))
(ret ts2 fs os)
(ret ts2))]
[((tc-result1: t1 f1 o1) (tc-result1: t2 (FilterSet: (Top:) (Top:)) (Empty:)))
(cond
[(not (subtype t1 t2))
(expected-but-got t2 t1)])
expected]
[((tc-result1: t1 f1 o1) (tc-result1: t2 f2 o2))
(cond
[(not (subtype t1 t2))

View File

@ -78,6 +78,10 @@
(ret (list Univ) (list -no-filter) (list -no-obj))
#:result (ret (list Univ) (list -top-filter) (list -empty-obj)))
(test-below
(ret (list -Symbol) (list -true-filter) (list -empty-obj))
(ret (list Univ) (list -top-filter) (list -empty-obj)))
(test-below #:fail
(ret (list -Symbol) (list -top-filter) (list -empty-obj))
(ret (list Univ) (list -true-filter) (list -no-obj))