Skip to content

Commit

Permalink
Fix typo in threading test.
Browse files Browse the repository at this point in the history
  • Loading branch information
fjwhittle committed Apr 27, 2017
1 parent ed40f4b commit 86d40b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/threading.t
Expand Up @@ -12,5 +12,5 @@ my $mapper = Path::Map.new();
$mapper.add_handler('/foo/:bar', 'the one', :bar({ sleep 1/10; +$_ ~~ (Int) }));
$mapper.add_handler('/foo/:baz', 'not the one', :baz({ True }));

ok $mapper.lookup('/foo/42').?handler eq 'the one', 'determisitic resolution order';
ok $mapper.lookup('/foo/42').?handler eq 'the one', 'deterministic resolution order';
ok $mapper.lookup('/foo/bar').?handler eq 'not the one', 'skip constraint';

0 comments on commit 86d40b2

Please sign in to comment.