Created
July 24, 2012 14:15
-
-
Save j1n3l0/3170145 to your computer and use it in GitHub Desktop.
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 5.014; | |
use Test::Most; | |
use constant SENTINAL => {}; | |
{ | |
use signatures; | |
use Data::Compare 'Compare'; | |
sub demo_is_equal($a, $b) { Compare( $a, $b ) } | |
} | |
ok demo_is_equal( SENTINAL, {} ), 'SENTINAL == {}'; | |
done_testing; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment