logo       

TestFailure: Assertion failed in first practice from Squeak by Example: msg#00052

lang.smalltalk.squeak.beginners

Subject: TestFailure: Assertion failed in first practice from Squeak by Example

Hell Squeakers,
 
At home I went through the first half of the Squeak by Example book. The guided practice went without a hitch however, when I worked through the first practice of writing a simple String method at work, on a different image, I ran into this problem. Why am I receiving an 'Assertion failed' message?
 
testShout
 self assert: ('oh no' shout = 'OH NO!')
 
shout 
 ^ self asUppercase , '!'
   
TestFailure: Assertion failed
 
Regards,
 
Eric Eisaman
_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise