[Newbies] TestFailure: Assertion failed in first practice from
Squeak by Example
stephane.ducasse at free.fr
Mon Dec 10 21:09:37 UTC 2007
On 10 déc. 07, at 21:48, Eric Eisaman wrote:
> 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?
> self assert: ('oh no' shout = 'OH NO!')
where the shout method is defined?
> ^ self asUppercase , '!'
> TestFailure: Assertion failed
> Eric Eisaman
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
More information about the Beginners