text now reuqires non-empty strings again

svn: r10142
This commit is contained in:
Robby Findler 2008-06-05 12:20:30 +00:00
parent 58d39e23dc
commit e9bb51a363

View File

@ -389,7 +389,7 @@ plt/collects/tests/mzscheme/image-test.ss
y2)))))) y2))))))
(define (text str size color-in) (define (text str size color-in)
(check 'text (lambda (x) (and (string? x) #;(not (equal? "" x)))) str "non-empty string" "first") (check 'text (lambda (x) (and (string? x) (not (equal? "" x)))) str "non-empty string" "first")
(check 'text (lambda (x) (and (integer? x) (<= 1 x 255))) size "integer between 1 and 255" "second") (check 'text (lambda (x) (and (integer? x) (<= 1 x 255))) size "integer between 1 and 255" "second")
(check-image-color 'text color-in "third") (check-image-color 'text color-in "third")
(let ([color (make-color% color-in)]) (let ([color (make-color% color-in)])