Browse Source

testFixersPriority: verbose assertion message

Filippo Tessarotto 7 years ago
parent
commit
ab88d60f86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/AutoReview/FixerFactoryTest.php

+ 1 - 1
tests/AutoReview/FixerFactoryTest.php

@@ -42,7 +42,7 @@ final class FixerFactoryTest extends TestCase
      */
     public function testFixersPriority(FixerInterface $first, FixerInterface $second)
     {
-        $this->assertLessThan($first->getPriority(), $second->getPriority());
+        $this->assertLessThan($first->getPriority(), $second->getPriority(), sprintf('"%s" should have less priority than "%s"', get_class($second), get_class($first)));
     }
 
     public function provideFixersPriorityCases()