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

perl6 --doc is unhappy with Test.pm #3802

Closed
p6rt opened this issue May 2, 2015 · 4 comments
Closed

perl6 --doc is unhappy with Test.pm #3802

p6rt opened this issue May 2, 2015 · 4 comments

Comments

@p6rt
Copy link

p6rt commented May 2, 2015

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

Searchable as RT124445$

@p6rt
Copy link
Author

p6rt commented May 2, 2015

From @jdv

justin@​dizzy rakudo $ perl6 --doc lib/Test.pm
NAME

Test - Rakudo Testing Library

SYNOPSIS

  use Test;

DESCRIPTION

FUNCTIONS

  throws_like($code, Mu $expected_type, *%matchers)

If $code is Callable, calls it, otherwise EVALs it, and expects it thrown an exception.

If an exception is thrown, it is compared to $expected_type.

Then for each key in %matchers, a method of that name is called on the resulting exception, and its return value smart-matched against the value.

Each step is counted as a separate test; if one of the first two fails, the rest of the tests are skipped.
use of uninitialized value of type Any in numeric context in block <unit> at lib/Test.pm​:603

use of uninitialized value of type Any in numeric context in block <unit> at lib/Test.pm​:603

use of uninitialized value of type Any in numeric context in block <unit> at lib/Test.pm​:654

use of uninitialized value of type Any in numeric context in block <unit> at lib/Test.pm​:654

use of uninitialized value of type Any in numeric context in block <unit> at lib/Test.pm​:654

justin@​dizzy rakudo $

@p6rt
Copy link
Author

p6rt commented Oct 25, 2015

From @usev6

Fixed with commit rakudo/rakudo@3c00699

I don't think this warrants a test (at least not in roast). Therefore I'm closing this ticket as 'resolved' now. Please reopen or add a test to Rakudo's t/02-rakudo if you disagree.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Oct 25, 2015

From @usev6

Fixed with commit rakudo/rakudo@3c00699

I don't think this warrants a test (at least not in roast). Therefore I'm closing this ticket as 'resolved' now. Please reopen or add a test to Rakudo's t/02-rakudo if you disagree.

@p6rt
Copy link
Author

p6rt commented Oct 25, 2015

@usev6 - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Oct 25, 2015
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