Created
May 26, 2016 04:23
-
-
Save mihyaeru21/10e009799d25a90b6b2d163a74162b3e 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
# ()付けない | |
cmp_deeply $hoge, { | |
id => is_integer, | |
name => is_string, | |
}; | |
# ()付ける | |
cmp_deeply $hoge, { | |
id => is_integer(), | |
name => is_string(), | |
}; | |
# 混ざってると気持ち悪い | |
cmp_deeply $hoge, { | |
id => is_integer, | |
name => is_string(), | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment