chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] spock tests


From: Shawn Rutledge
Subject: Re: [Chicken-users] spock tests
Date: Sat, 8 Sep 2012 00:40:46 +0200

On 8 September 2012 00:26, Mario Domenech Goulart
<address@hidden> wrote:
> On Fri, 07 Sep 2012 18:18:05 -0400 Mario Domenech Goulart <address@hidden> 
> wrote:
>> I think the wrong example is:
>>
>>     (string->symbol #t) ==> #t
>>     BUT EXPECTED #f
>>
>> On all browsers I get a warning like:
>>
>>     ReferenceError: ____25min is not defined

Oops I get those too.  After seeing "1 wrong" I searched for "wrong"
and stopped there.  ;-)

>
> Hmmm.  Shawn mentioned that he gets
>
>    (every-of #t)
>    => #f ; *** wrong ***, desired result:
>    => #t
>
> I get that too, but since the test reported one wrong result and I saw
> the string->symbol failure, I stopped there.
>
> So, it seems that there are three problems:
>
> - (every-of #t) => #f
> - (string->symbol #t) => #t
> - the wrong examples counter. :-)
>
> Shouldn't (string->symbol #t) raise an error?
>
> BTW, I used Chromium and Firefox on Linux.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]