Login  Register

TestCase question

Posted by wernerk on Apr 12, 2011; 9:47pm
URL: https://forum.world.st/TestCase-question-tp3445764.html

hi,
i have a testsuite that is a subclass of TestCase with this method:

testStupid
|a|
a :=#(1).
self assert: a first isNumber .
a :=a at:1 put: nil.

if i run the test once, it succeeds, but but when i run it a second time
it fails. this seems to be sligthly counterintuitive, or how do i have
to understand it?

werner