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

LWP-6.04 failed coercion #264

Closed
celogeek opened this issue Mar 30, 2012 · 2 comments
Closed

LWP-6.04 failed coercion #264

celogeek opened this issue Mar 30, 2012 · 2 comments

Comments

@celogeek
Copy link

I have a failure on LWP

Perl 5.14.2 with threads
Ubuntu 64 bits

base/protocols.t ...... ok   
base/ua.t ............. ok     
robot/ua-get.t ........ ok   
robot/ua.t ............ ok   
local/autoload-get.t .. ok   
local/autoload.t ...... ok   
local/get.t ........... ok   
local/http.t .......... 1/? Attribute (name) does not pass the type constraint because: Validation failed for 'Str' with value Regexp=REGEXP(0x190a518) at /home/geistteufel/perl5/perlbrew/perls/perl-test-builder2/lib/5.14.2/TB2/Mouse.pm line 2420
    TB2::Mouse::Meta::Attribute::_throw_type_constraint_error('TB2::Mouse::Meta::Attribute=HASH(0xe16cd0)', 'Regexp=REGEXP(0x190a518)', 'TB2::Mouse::Meta::TypeConstraint=HASH(0x9f6988)') called at /home/geistteufel/perl5/perlbrew/perls/perl-test-builder2/lib/5.14.2/TB2/Mouse.pm line 46
    TB2::Result::pass::__ANON__('TB2::Mouse::Meta::Class=HASH(0xe01a08)', 'TB2::Result::pass=HASH(0x15af520)', 'HASH(0xaaac50)', 0) called at /home/geistteufel/perl5/perlbrew/perls/perl-test-builder2/lib/5.14.2/TB2/Mouse.pm line 329
    TB2::Mouse::Meta::Class::new_object('TB2::Mouse::Meta::Class=HASH(0xe01a08)', 'HASH(0x193ff98)') called at /home/geistteufel/perl5/perlbrew/perls/perl-test-builder2/lib/5.14.2/TB2/Mouse.pm line 726
    TB2::Mouse::Object::new('TB2::Result::pass', 'pass', 1, 'reason', undef, 'directives', 'ARRAY(0x190a710)', 'name', 'Regexp=REGEXP(0x190a518)', 'file', 'local/http.t', 'line', 151) called at /home/geistteufel/perl5/perlbrew/perls/perl-test-builder2/lib/5.14.2/TB2/Result.pm line 134
    TB2::Result::new_result('TB2::Result', 'file', 'local/http.t', 'line', 151, 'pass', 1, 'file', 'local/http.t', 'line', 151, 'name', 'Regexp=REGEXP(0x190a518)', 'directives', 'ARRAY(0x190a710)', 'reason', undef) called at /home/geistteufel/perl5/perlbrew/perls/perl-test-builder2/lib/5.14.2/Test/Builder.pm line 702
    Test::Builder::ok('Test::Builder=HASH(0xee2448)', 'GET /echo/path_info?query HTTP/1.1\x{a}Connection: TE, close\x{a}Acce...', 'Regexp=REGEXP(0x190a518)') called at /home/geistteufel/perl5/perlbrew/perls/perl-test-builder2/lib/5.14.2/Test/More.pm line 303
    Test::More::ok('GET /echo/path_info?query HTTP/1.1\x{a}Connection: TE, close\x{a}Acce...', 'Regexp=REGEXP(0x190a518)') called at local/http.t line 151
#59 tests planned, but 20 ran.
# Looks like your test exited with 255 just after 20.
^Cmake: *** [test] Interrompre
@celogeek
Copy link
Author

solved with pull request #265

schwern added a commit that referenced this issue Mar 30, 2012
Issue #264: Stringify the name attribute

Fix ok( $test, qr/.../ );
@schwern
Copy link
Contributor

schwern commented Mar 30, 2012

Fixed by #265

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

2 participants