Created
September 25, 2014 03:57
-
-
Save lejeunerenard/33a629dd8b8ee32db4e2 to your computer and use it in GitHub Desktop.
cmp_bag
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::Deep; | |
cmp_bag [ | |
{ 'middle_name' => 'must be unique when combined with first_name, last_name' }, | |
{ 'first_name' => 'must be unique when combined with middle_name, last_name' }, | |
{ 'last_name' => 'must be unique when combined with first_name, middle_name and must be unique when combined with suffix' }, | |
{ 'suffix' => 'must be unique when combined with last_name' } | |
], [ | |
{ 'suffix' => 'must be unique when combined with last_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', }, | |
{ 'last_name' => 'must be unique when combined with suffix and must be unique when combined with first_name, middle_name', }, | |
], 'eq arrays of hashrefs'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment