Skip to content

Commit

Permalink
Use an equally valid implementation of one test.
Browse files Browse the repository at this point in the history
What GLR broke here will definitely be addressed,
and isn't related to the tested functionality.  So,
tweak the test in the interest of reducing noise.
  • Loading branch information
skids committed Aug 22, 2015
1 parent 3ee1cd0 commit 82d5a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S02-types/subset.t
Expand Up @@ -55,7 +55,7 @@ dies-ok { my Digit $x = 3.1 },
lives-ok { my Subhash $a = {} },
'can create subset of hash';

subset Person of Hash where { .keys.sort ~~ <firstname lastname> }
subset Person of Hash where { .keys.sort ~~ ['firstname', 'lastname'] }
lives-ok { my Person $p = { :firstname<Alpha>, :lastname<Bravo> } },
'can create subset of hash with where';
dies-ok { my Person $p = { :first<Charlie>, :last<Delta> } },
Expand Down

0 comments on commit 82d5a9e

Please sign in to comment.