xaicron / p5-Net-APNs-Extended

Client library for APNs
Other
2 stars 6 forks source link

Test JSON as Perl object, not string. #2

Closed syohex closed 11 years ago

syohex commented 11 years ago

If $hashref has multiple key-value pairs, json->encode($hashref) returns unpredictable output from Perl 5.18, because of hash randomization. So I think that it is not good test as string.

This fixes #1 issue