Browse Source

Merge pull request #781 from hvt/patch-1

Tiny typo in TestHandler exception
Jordi Boggiano 9 years ago
parent
commit
85dcece943
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Monolog/Handler/TestHandler.php

+ 1 - 1
src/Monolog/Handler/TestHandler.php

@@ -112,7 +112,7 @@ class TestHandler extends AbstractProcessingHandler
     public function hasRecordThatPasses($predicate, $level)
     {
         if (!is_callable($predicate)) {
-            throw new \InvalidArgumentException("Expected a callable for hasRecordThatSucceeds");
+            throw new \InvalidArgumentException("Expected a callable for hasRecordThatPasses");
         }
 
         if (!isset($this->recordsByLevel[$level])) {