svn: r9924

original commit: 833bebbd3b237f7fa31632affa410912d5dab533
This commit is contained in:
Sam Tobin-Hochstadt 2008-05-21 20:10:39 +00:00
parent a525d82a8d
commit 103a959de1
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#lang scheme/base
(provide go)
(provide go go/text)
(require (planet schematics/schemeunit/test)
(planet schematics/schemeunit/text-ui)
@ -77,10 +77,11 @@
unit-tests int-tests))
(define (go) (test/graphical-ui tests))
(define (go/text) (test/text-ui tests))
(when (getenv "PLT_TESTS")
(unless (parameterize ([current-output-port (open-output-string)])
(= 0 (test/text-ui tests)))
(= 0 (go/text)))
(error "Typed Scheme Tests did not pass.")))

View File

@ -483,7 +483,7 @@
[(a*) (quotient 5 12)]
[(b*) (remainder 5 12)])
(+ a b a* b*))
N]
-Integer]
[tc-e (raise-type-error 'foo "bar" 5) (Un)]
[tc-e (raise-type-error 'foo "bar" 7 (list 5)) (Un)]