Subject: | Test suite fails (with older Dancer?) |
On a few of my smokers the test suite fails like this:
...
# Failed test 'update_person()'
# at t/125-restish.t line 116.
# Structures begin differing at:
# $got->{job} = 'hacker'
# $expected->{job} = 'Hacker'
# {
# "id" : 1,
# "job" : "hacker",
# "name" : "abeltje"
# }
# Failed test 'get_person()'
# at t/125-restish.t line 128.
# Structures begin differing at:
# $got->{job} = 'hacker'
# $expected->{job} = 'Hacker'
# {
# "id" : 1,
# "job" : "hacker",
# "name" : "abeltje"
# }
# Failed test 'get_all_persons()'
# at t/125-restish.t line 136.
# Structures begin differing at:
# $got->[0]{job} = 'hacker'
# $expected->[0]{job} = 'Hacker'
# [
# {
# "id" : 1,
# "job" : "hacker",
# "name" : "abeltje"
# },
# {
# "id" : 2,
# "job" : "Hacker",
# "name" : "Abe"
# }
# ]
# Looks like you failed 3 tests of 20.
t/125-restish.t ...........
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/20 subtests
... (etc) ...
It seems this is caused by older versions of Dancer --- sorry, no statistical analysis available, as this works only if Dancer would be a direct dependency of this distribution.