Re: SchemeUnit

Noel Welsh <noelwelsh-/[email protected]> Mon, 13 Feb 2006 07:41:07 -0800 (PST)
Newsgroups gmane.lisp.scheme.plt.schematics
Message-ID <[email protected]>
Thanks.  This is fixed in the next version, which I intend
to release in the next week or two.

N.

--- pedro pinto <[email protected]> wrote:

> Hi there,
>=20
> I think the latest SchemeUnit on planet has a small bug:
> the text ui allways
> prints 0 as the number of test successes. I poked around
> the code a bit and
> changed update-count! on text-ui.ss to:
>=20
>     (define (update-count! count result)
>       (match result
>         [($ test-failure case result)
>          (add-failure! count)]
>         [($ test-error case result)
>          (add-error! count)]
>         [($ test-success case result)
>          (add-success! count)]))                 ; used
> to be
> (print-success case result)]))
>=20
>=20
> That seems to have done the trick.
>=20
> -pp
>=20
> ps: I really SchemeUnit thanks for sharing.


Email: noelwelsh <at> yahoo <dot> com   noel <at> untyped <dot> com
AIM: noelhwelsh
Blogs: http://monospaced.blogspot.com/  http://www.untyped.com/untyping/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D=
121642