Skip to content

Instantly share code, notes, and snippets.

@exodist
Last active November 2, 2015 19:52
Show Gist options
  • Save exodist/06a99d2af372652a443a to your computer and use it in GitHub Desktop.
Save exodist/06a99d2af372652a443a to your computer and use it in GitHub Desktop.
use Test::Stream -V1;
is(
[
{a => 1, b => 2},
"x"
],
[
{a => "one", b => "two"},
"y"
],
"different"
);
done_testing
__END__
not ok 1 - different
# Failed test 'different'
# at -e line 1.
# +--------+-----+----+-------+
# | PATH | GOT | OP | CHECK |
# +--------+-----+----+-------+
# | [0]{a} | 1 | eq | one |
# | [0]{b} | 2 | eq | two |
# | [1] | x | eq | y |
# +--------+-----+----+-------+
1..1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment