Skip to content

Commit

Permalink
Merge pull request #47 from ubick/feature/add-fqcn-to-new-matchers
Browse files Browse the repository at this point in the history
Add FQCN to new matchers
  • Loading branch information
MarcelloDuarte committed Jul 26, 2017
2 parents b21f6f7 + ef78965 commit 0bd9e49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions expect.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ function expect($sus)
$matchers->add(new StringEndMatcher($presenter));
$matchers->add(new StringRegexMatcher($presenter));
$matchers->add(new StringContainMatcher($presenter));
if (class_exists('TriggerMatcher')) {
if (class_exists('PhpSpec\Matcher\TriggerMatcher')) {
$matchers->add(new TriggerMatcher($unwrapper));
}
if (class_exists('IterateAsMatcher')) {
if (class_exists('PhpSpec\Matcher\IterateAsMatcher')) {
$matchers->add(new IterateAsMatcher($presenter));
}
if (class_exists('ApproximatelyMatcher')) {
if (class_exists('PhpSpec\Matcher\ApproximatelyMatcher')) {
$matchers->add(new ApproximatelyMatcher($presenter));
}

Expand Down

0 comments on commit 0bd9e49

Please sign in to comment.