On Mon, Feb 11, 2013 at 5:15 AM, Philip Martin <philip.mar...@wandisco.com> wrote: > Note that it checks externals[0] twice rather than checking externals[0] > and externals[1]. If I change the test to check externals[2]
That's clearly an error on my part. > isa_ok($externals->[2], '_p_svn_wc_external_item2_t'); > > I get failures because only externals[0] and externals[1] exist. > However if I change the other bits > > ok($externals->[0]->url(), 'foobar'); > > the test still passes. > > What's going on? How are these tests supposed to work? I used the wrong test (I meant is not ok), It's passing as long as the first arg evaluates to true.