Greetings,

I've run across this in my own tests that ran fine in Squeak, but  
failed in Pharo. I thought it was just me being a dummy, but when I  
imported SandstoneDb and ran the tests, the exact same thing happens.  
It is a simple fix, but being fairly new at this, I'd like to know why  
this is, and if I should have to do this or not.

So, for easy reference, I loaded the latest SandstoneDb (rjl.117) into  
my image (pharo1.0beta-10401web09.07.5) and ran the tests, several of  
which failed with a doesNotUnderstand: #assert:includes:

Here is the test:

testCollectionSerialization
        kid save.
        mom children: (OrderedCollection with: kid).
        mom save.
        self flushAndReload .
        self
                assert: mom refreshed children
                includes: kid refreshed

if I simply put parens around the argument to assert: like this:

assert: (mom refreshed children
                includes: kid refreshed)

it passes. In all cases of failing tests with SandstoneDb, that is the  
case. Any insight here?

Thanks!
DZ

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to