We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0429678 commit 5f09f01Copy full SHA for 5f09f01
tests/ShapeFileTest.php
@@ -116,6 +116,11 @@ public function testLoadEmptyFilename(): void
116
{
117
$shp = new ShapeFile(1);
118
$shp->loadFromFile('');
119
+ if (ShapeFile::supportsDbase()) {
120
+ $this->assertEquals('It wasn\'t possible to find the DBase file ""', $shp->lastError);
121
+
122
+ return;
123
+ }
124
$this->assertEquals('Not a SHP file (file code mismatch)', $shp->lastError);
125
}
126
0 commit comments