Created
August 10, 2017 21:11
-
-
Save Whateverable/2a9088ddcff37fd6f748b77ba3339af2 to your computer and use it in GitHub Desktop.
committable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f590863e17^,f590863e17 use lib ‘data/all-modules/moritz/json/lib/’; use JSON::Tiny; use Test; my @t = '{ "a" : "b\u00E5" }' => { 'a' => 'bå' }, '[ "\u2685" ]' => [ '⚅' ], qq{"x\c[ZERO WIDTH JOINER]a"} => "x\c[ZERO WIDTH JOINER]a", qq{"\c[ZERO WIDTH JOINER]"} => "\c[ZERO WIDTH JOINER]"; plan (+@t); for @t -> $p { my $got = from-json($p.key); is-deeply $got, $p.value; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
¦«f590863e17^»: | |
1..4 | |
ok 1 - | |
ok 2 - | |
ok 3 - | |
ok 4 - | |
¦«f590863»: | |
1..4 | |
ok 1 - | |
ok 2 - | |
ok 3 - | |
Input (2 characters) is not a valid JSON string | |
in sub from-json at /home/bisectable/git/whateverable/data/all-modules/moritz/json/lib/JSON/Tiny.pm (JSON::Tiny) line 59 | |
in block <unit> at /tmp/JPhgSC4zUc line 1 | |
# Looks like you planned 4 tests, but ran 3 «exit code = 255» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment