Skip to content

Commit 0b112e6

Browse files
committed
Fix PHPUnit compatibility
1 parent 28dd4f5 commit 0b112e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Phug/DevTool/Command/CheckCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ public function testExecute()
4848
}
4949
chdir($cwd);
5050

51-
self::assertStringContainsString('Error: Code coverage files not found. Please run `unit-tests:run`', $buffer->fetch());
51+
self::assertTrue(strpos($buffer->fetch(), 'Error: Code coverage files not found. Please run `unit-tests:run`') !== false);
5252
}
5353
}

0 commit comments

Comments
 (0)