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

test errors on ubuntu 20.04 #8

Open
quimpg opened this issue Oct 26, 2020 · 3 comments
Open

test errors on ubuntu 20.04 #8

quimpg opened this issue Oct 26, 2020 · 3 comments

Comments

@quimpg
Copy link

quimpg commented Oct 26, 2020

I got several errors when I try to install the package on ubuntu 20.04

Any idea of the reason?

t/core.t ...... 1/?
Failed test 'Invalid object sent for serialization returns undef' at t/core.t line 54.
got: '"asdf"'
expected: undef
Failed test 'Bad encode sets proper errstr' at t/core.t line 55.
got: ''
expected: 'hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this)'
Looks like you failed 2 tests of 24. t/core.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/24 subtests

t/requests.t .. 1/?
Failed test 'Scalar context for /put_invalid_json bails before request' at t/requests.t line 17.
Structures begin differing at:
$got->{code} = 'success'
$expected->{code} = Does not exist

Failed test 'List context HTTP Code for /put_invalid_json bails before request should return 500' at t/requests.t line 19.
got: '200'
expected: '500'
Failed test 'List context response for /put_invalid_json bails before request' at t/requests.t line 20.
Structures begin differing at:
$got->{code} = 'success'
$expected->{code} = Does not exist
Looks like you failed 3 tests of 35.
t/requests.t .. Dubious, test returned 3 (wstat 768, 0x300)

@Ovid
Copy link

Ovid commented Jun 21, 2022

I'm getting the same errors on macOS Monterey, version 12.4. Perl version 5.26.3.

@eritain
Copy link

eritain commented Sep 21, 2022

Same here, Ubuntu Xenial, Perl 5.22.

These tests expect that JSON->to_json() will refuse to encode a bare string, but it does that now, so they break.

@eritain
Copy link

eritain commented Sep 21, 2022

This is #4 again.

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

3 participants