Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t/00-parrot/05-var-array.t is failing in a way "make test" doesn't catch #709

Closed
p6rt opened this issue Feb 19, 2009 · 6 comments
Closed

Comments

@p6rt
Copy link

p6rt commented Feb 19, 2009

Migrated from rt.perl.org#63346 (status was 'resolved')

Searchable as RT63346$

@p6rt
Copy link
Author

p6rt commented Feb 19, 2009

From @petdance

the "ok 3" is coming out as "ok" but prove doesn't complain.

my @​a = (1, 2, 3);

say 'ok ' ~ @​a[0];
say 'ok ' ~ @​a[1];
say 'ok ' ~ @​a[-1];

This is hiding the fact that @​a[-1] is not working.

--
Andy Lester => andy@​petdance.com => www.petdance.com => AIM​:petdance

@p6rt
Copy link
Author

p6rt commented Feb 19, 2009

From @petdance

On Thu Feb 19 10​:55​:23 2009, petdance wrote​:

the "ok 3" is coming out as "ok" but prove doesn't complain.

my @​a = (1, 2, 3);

say 'ok ' ~ @​a[0];
say 'ok ' ~ @​a[1];
say 'ok ' ~ @​a[-1];

I also tried this as

say 'ok ' ~ @​a[-1] + 0;

and it comes out as "ok 0", and T​::H doesn't care about that, either.

@p6rt
Copy link
Author

p6rt commented Feb 19, 2009

@petdance - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Feb 20, 2009

From @moritz

On Thu Feb 19 10​:55​:23 2009, petdance wrote​:

the "ok 3" is coming out as "ok" but prove doesn't complain.

my @​a = (1, 2, 3);

say 'ok ' ~ @​a[0];
say 'ok ' ~ @​a[1];
say 'ok ' ~ @​a[-1];

This is hiding the fact that @​a[-1] is not working.

Actually it should be @​a[*-1], and I've fixed that test accordingly.

The fact that the harness doesn't report this is disturbing though.

Cheers,
Moritz

@p6rt
Copy link
Author

p6rt commented Apr 23, 2010

From @jnthn

On Fri Feb 20 00​:39​:35 2009, moritz wrote​:

On Thu Feb 19 10​:55​:23 2009, petdance wrote​:

the "ok 3" is coming out as "ok" but prove doesn't complain.

my @​a = (1, 2, 3);

say 'ok ' ~ @​a[0];
say 'ok ' ~ @​a[1];
say 'ok ' ~ @​a[-1];

This is hiding the fact that @​a[-1] is not working.

Actually it should be @​a[*-1], and I've fixed that test accordingly.

The fact that the harness doesn't report this is disturbing though.

The test file doesn't exist any more, and the test harness issue isn't
really a Rakudo bug. Marking this one as resolved.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Apr 23, 2010

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Apr 23, 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant