File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function testLintIncorrectFile()
4242 $ ret = $ tester ->execute (['filename ' => [$ filename ]], ['decorated ' => false ]);
4343
4444 $ this ->assertEquals (1 , $ ret , 'Returns 1 in case of error ' );
45- $ this ->assertRegExp ('/ERROR in \S+ \(line / ' , trim ($ tester ->getDisplay ()));
45+ $ this ->assertMatchesRegularExpression ('/ERROR in \S+ \(line / ' , trim ($ tester ->getDisplay ()));
4646 }
4747
4848 public function testLintFileNotReadable ()
@@ -63,7 +63,7 @@ public function testLintFileCompileTimeException()
6363 $ ret = $ tester ->execute (['filename ' => [$ filename ]], ['decorated ' => false ]);
6464
6565 $ this ->assertEquals (1 , $ ret , 'Returns 1 in case of error ' );
66- $ this ->assertRegExp ('/ERROR in \S+ \(line / ' , trim ($ tester ->getDisplay ()));
66+ $ this ->assertMatchesRegularExpression ('/ERROR in \S+ \(line / ' , trim ($ tester ->getDisplay ()));
6767 }
6868
6969 /**
You can’t perform that action at this time.
0 commit comments