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
Test.pm - eval_lives_ok emits warning "Use of uninitialized value in numeric context" #2135
Comments
From @bbkr[12:21] <bbkr> rakudo: use Test; eval_lives_ok '1<&1' The "Use of uninitialized value in numeric context" warning should not be $ perl6 -e 'use Test; eval_lives_ok "die 1"' (no STDERR output is "leaking through" eval_lives_ok, not eval_lives_ok itself |
From @bbkrNow it is: rakudo c2c02a: OUTPUT«use of uninitialized variable $v of type Any in numeric context in block |
From @cokeOn Thu Sep 02 03:36:44 2010, pawel.pabian@implix.com wrote:
No longer leaking diagnostic fluid: 01:24 < [Coke]> rakudo: use Test; eval_lives_ok '1<&1' Closable with tests. |
The RT System itself - Status changed from 'new' to 'open' |
From @usev6I'm afraid the original complaint ist still valid: $ perl6 -e 'use Test; eval_lives_ok "1 <&1"' ok 1 - For some reason now a whitespace is needed before '<' (STD agrees here) and the parsing error prevents the leaking warning: $ perl6 -e 'use Test; eval_lives_ok "1<&1"' # Failed test at -e line 1 |
From @labsterI'm not sure that this is a real bug. Compare: % perl -MTest::Exception -w -e 'lives_ok sub {print undef}, "foo";' ok 1 - foo Would these warnings interfere with TAP processing? On Sat Oct 25 10:04:11 2014, bartolin@gmx.de wrote:
|
From @jdvAdded tests to S24-testing/3-output.t. |
@jdv - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#77650 (status was 'resolved')
Searchable as RT77650$
The text was updated successfully, but these errors were encountered: