I got following message on Perl 5.18.0.
But output is randomly, sometime, all tests are passed,
but sometime some tests are failed.
% prove -vb t/04_create_send_data.t
t/04_create_send_data.t ..
ok 1
1..1
ok 1 - payload.aps must be hashref
ok 1
ok 2
ok 3
ok 4
ok 5
1..5
ok 2 - success
ok 1
ok 2
ok 3
ok 4
ok 5
1..5
ok 3 - with extras
ok 1
ok 2
ok 3
ok 4
ok 5
1..5
ok 4 - trimed
ok 1
ok 2
ok 3
ok 4
not ok 5
# Failed test at t/04_create_send_data.t line 73.
# got: '{"aps":{"badge":100,"alert":"メッセージ"}}'
# expected: '{"aps":{"alert":"メッセージ","badge":100}}'
1..5
# Looks like you failed 1 test of 5.
not ok 5 - badge to numify
# Failed test 'badge to numify'
# at t/04_create_send_data.t line 76.
ok 1
ok 2
ok 3
ok 4
ok 5
1..5
ok 6 - trimd alter.body
ok 1
ok 2
ok 3
1..3
ok 7 - command 0
1..7
# Looks like you failed 1 test of 7.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests
Test Summary Report
-------------------
t/04_create_send_data.t (Wstat: 256 Tests: 7 Failed: 1)
Failed test: 5
Non-zero exit status: 1
Files=1, Tests=7, 0 wallclock secs ( 0.02 usr 0.02 sys + 0.07 cusr 0.02 csys = 0.12 CPU)
Result: FAIL
I got following message on Perl 5.18.0. But output is randomly, sometime, all tests are passed, but sometime some tests are failed.
I think hash randomization causes this issue.