From e9bb51a363f9c975a295d55c2b8f9ca022845b25 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Thu, 5 Jun 2008 12:20:30 +0000 Subject: [PATCH] text now reuqires non-empty strings again svn: r10142 --- collects/htdp/image.ss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collects/htdp/image.ss b/collects/htdp/image.ss index 3fb2fe8e3a..ec6e0a2bc6 100644 --- a/collects/htdp/image.ss +++ b/collects/htdp/image.ss @@ -389,7 +389,7 @@ plt/collects/tests/mzscheme/image-test.ss y2)))))) (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-image-color 'text color-in "third") (let ([color (make-color% color-in)])