Created
September 25, 2014 03:30
-
-
Save lejeunerenard/db9f17367e3345e0212f to your computer and use it in GitHub Desktop.
is_deeply test in perl 5.18.0 and greater
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
use Test::More; | |
# Intermediately Failing test perl 5.18.0 > | |
is_deeply { | |
'errors' => [ | |
{ | |
'last_name' => 'must be unique when combined with first_name, middle_name' | |
}, | |
{ | |
'middle_name' => 'must be unique when combined with first_name, last_name' | |
}, | |
{ | |
'first_name' => 'must be unique when combined with middle_name, last_name' | |
} | |
] | |
}, | |
{ | |
'errors' => [ | |
{ | |
'middle_name' => 'must be unique when combined with first_name, last_name' | |
}, | |
{ | |
'last_name' => 'must be unique when combined with first_name, middle_name' | |
}, | |
{ | |
'first_name' => 'must be unique when combined with middle_name, last_name' | |
} | |
] | |
}, 'errors match'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment