<div>Hello Jerome,</div>
<div> </div>
<div>I checked the white space and it was the same. I went and created numerous other String methods basically invoking existing methods and every test run seems to yield a signal failure causing the assertion to fail. I moved from the Cassou Dev Image to the OLPC Etoys Dev Image and made several of my own String methods and respective tests which all ran successfully. I don't know why my coding didn't work in both cases. Thanks for the time. Have a good day.
</div>
<div> </div>
<div>Regards,</div>
<div> </div>
<div>Eric Eisaman</div>
<div>"Scratch yourself into Squeaking."</div>
<div><a href="http://scratch.mit.edu/users/eisaman">http://scratch.mit.edu/users/eisaman</a></div>
<div><br><br> </div>
<div class="gmail_quote">On Dec 12, 2007 4:46 AM, Jerome Peace <<a href="mailto:peace_the_dreamer@yahoo.com">peace_the_dreamer@yahoo.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">TestFailure: Assertion failed in first practice from<br>Squeak by Example<br><br>Hi Eric,<br><br>Check your white space.
<br><br>There is a difference between 'oh no' and 'oh no '.<br>While its hard for me to tell if this is your problem<br>it is a common difficulty. And it will be easy for you<br>to eliminate it as a possibility.
<br><br>Hth.<br><br>Yours incuriosity and service, --Jeorme Peace<br><br><br>Eric Eisaman eric.eisaman at <a href="http://gmail.com/" target="_blank">gmail.com</a><br>Mon Dec 10 21:28:41 UTC 2007<br><br><br>Yes, the shout method is defined in the String object.
<br><br>***<br>>Eric<br>><br>>On Dec 11, 2007 7:09 AM, stephane ducasse<br><stephane.ducasse at <a href="http://free.fr/" target="_blank">free.fr</a>> wrote:<br>><br>>> Hi Eric<br>>><br>>> On 10 déc. 07, at 21:48, Eric Eisaman wrote:
<br>>><br>>> > Hell Squeakers,<br>>> ><br>>> > At home I went through the first half of the<br>Squeak by Example<br>>> > book. The guided practice went without a hitch<br>however, when I
<br>>> > worked through the first practice of writing a<br>simple String method<br>>> > at work, on a different image, I ran into this<br>problem. Why am I<br>>> > receiving an 'Assertion failed' message?
<br>>> ><br>>> > testShout<br>>> > self assert: ('oh no' shout = 'OH NO!')<br>>> ><br>>><br>>> where the shout method is defined?<br>>> In String?<br>
>><br>>> > shout<br>>> > ^ self asUppercase , '!'<br>>> ><br>>> > TestFailure: Assertion failed<br>>> ><br>>> > Regards,<br>>> ><br>>> > Eric Eisaman
<br>***<br>
<div class="WgoR0d"><br><br><br> ____________________________________________________________________________________<br>Looking for last minute shopping deals?<br>Find them fast with Yahoo! Search. <a href="http://tools.search.yahoo.com/newsearch/category.php?category=shopping" target="_blank">
http://tools.search.yahoo.com/newsearch/category.php?category=shopping</a><br>_______________________________________________<br>Beginners mailing list<br><a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org
</a><br><a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br></div></blockquote></div><br>