[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Perl bindings tests don't seem to work

From: Ben Reser <ben_at_reser.org>
Date: Mon, 11 Feb 2013 10:48:28 -0800

On Mon, Feb 11, 2013 at 5:15 AM, Philip Martin
<philip.martin_at_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.
Received on 2013-02-11 19:49:06 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.