File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public function testGetPattern()
6666 public function testResourceDoesNotExist ()
6767 {
6868 $ this ->expectException ('InvalidArgumentException ' );
69- $ this ->expectExceptionMessageRegExp ('/The directory ".*" does not exist./ ' );
69+ $ this ->expectExceptionMessageMatches ('/The directory ".*" does not exist./ ' );
7070 new DirectoryResource ('/____foo/foobar ' .mt_rand (1 , 999999 ));
7171 }
7272
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function testToString()
5656 public function testResourceDoesNotExist ()
5757 {
5858 $ this ->expectException ('InvalidArgumentException ' );
59- $ this ->expectExceptionMessageRegExp ('/The file ".*" does not exist./ ' );
59+ $ this ->expectExceptionMessageMatches ('/The file ".*" does not exist./ ' );
6060 new FileResource ('/____foo/foobar ' .mt_rand (1 , 999999 ));
6161 }
6262
You can’t perform that action at this time.
0 commit comments