Skip to content

Commit 070f503

Browse files
author
Dan Jones
committed
Remove failing test
This is testing a third-party library, anyhow.
1 parent 42ace60 commit 070f503

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

google/appengine/runtime/GlobTest.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff 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
*/

0 commit comments

Comments
 (0)