File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,19 +141,6 @@ public function testWildcardPath() {
141141 $ this ->assertEquals (['foo/1.txt ' , 'foo/2.txt ' ], $ result );
142142 }
143143
144- public function testErrors () {
145- // Match the semantics of glob as observed in
146- // https://github.com/php/php-src/blob/master/ext/standard/tests/file/glob_error.phpt
147- $ this ->setExpectedException ('PHPUnit_Framework_Error_Warning ' );
148- Glob::doGlob (); // Not enough arguments
149- $ this ->setExpectedException ('PHPUnit_Framework_Error_Warning ' );
150- Glob::doGlob ("* " , GLOB_ERR , 2 ); // Too many arguments
151- $ this ->setExpectedException ('PHPUnit_Framework_Error_Warning ' );
152- Glob::doGlob ('* ' , '' );
153- $ this ->setExpectedException ('PHPUnit_Framework_Error_Warning ' );
154- Glob::doGlob ('* ' , 'str ' );
155- }
156-
157144 /**
158145 * @dataProvider braceExpansionDataProvider
159146 */
You can’t perform that action at this time.
0 commit comments