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

testing something that is "wrong" leads to a stacktrace in cro::http::test #2

Open
ufobat opened this issue Oct 12, 2018 · 0 comments

Comments

@ufobat
Copy link

ufobat commented Oct 12, 2018

> perl6 -Ilib t/10-Routes.t
    not ok 1 - Status is acceptable
    # Failed test 'Status is acceptable'
    # at site#sources/C22F8134E5F624ED8BC7EAA1FD9E428A90415E53 (Cro::HTTP::Test) line 166
    # expected: '200'
    #      got: '405'
Type check failed in binding to parameter '$got'; expected Cro::MediaType but got Nil (Nil)
  in sub test-media-type at /home/martin/.rakudobrew/moar-2018.08/install/share/perl6/site/sources/C22F8134E5F624ED8BC7EAA1FD9E428A90415E53 (Cro::HTTP::Test) line 273
  in block  at /home/martin/.rakudobrew/moar-2018.08/install/share/perl6/site/sources/C22F8134E5F624ED8BC7EAA1FD9E428A90415E53 (Cro::HTTP::Test) line 177
  in sub subtest at /home/martin/.rakudobrew/moar-2018.08/install/share/perl6/sources/C712FE6969F786C9380D643DF17E85D06868219E (Test) line 415
  in sub subtest at /home/martin/.rakudobrew/moar-2018.08/install/share/perl6/sources/C712FE6969F786C9380D643DF17E85D06868219E (Test) line 405
  in sub test at /home/martin/.rakudobrew/moar-2018.08/install/share/perl6/site/sources/C22F8134E5F624ED8BC7EAA1FD9E428A90415E53 (Cro::HTTP::Test) line 161
  in block <unit> at t/10-Routes.t line 8
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