Changed error messages in test case to match corrected error messages in

2htdp.
This commit is contained in:
Stephen Bloch 2011-07-24 07:20:56 -04:00
parent 3fca28c68f
commit ab01d563ca

View File

@ -208,7 +208,7 @@
(define (return-minus-5 x y) -5)
(check-error (build3-image 17 24 x-gradient-2 y-gradient-2 return-minus-5)
"make-color: Expected an integer between 0 and 255 as third argument, given: -5")
"make-color: expects an integer between 0 and 255 as third argument, given -5")
"Test cases for build4-image:"
"(build4-image 50 50 x-gradient-2 x-gradient-2 zero-2-args y-gradient-2) should be a square, increasingly yellow from left to right and increasingly alpha from top to bottom. On a blue background."