[Newbies] TestFailure: Assertion failed in first practice from Squeak by Example

Eric Eisaman eric.eisaman at gmail.com
Mon Dec 10 20:48:55 UTC 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20071211/a927cba5/attachment.htm


More information about the Beginners mailing list