[geos-commits] r3390 - trunk/php/test
svn_geos at osgeo.org
svn_geos at osgeo.org
Thu Jun 2 16:18:24 EDT 2011
Author: strk
Date: 2011-06-02 13:18:24 -0700 (Thu, 02 Jun 2011)
New Revision: 3390
Modified:
trunk/php/test/test.php
Log:
Refine test for #448
Modified: trunk/php/test/test.php
===================================================================
--- trunk/php/test/test.php 2011-06-02 20:13:55 UTC (rev 3389)
+++ trunk/php/test/test.php 2011-06-02 20:18:24 UTC (rev 3390)
@@ -117,12 +117,13 @@
}
/* BOGUS call (#448) */
- try {
- $reader->read();
- } catch (Exception $e) {
+ try {
+ $reader->read();
+ $this->assertTrue(FALSE); # this is just to fail if we get here
+ } catch (Exception $e) {
$this->assertContains('expects exactly 1 parameter',
$e->getMessage());
- }
+ }
}
public function testWKTWriter__construct()
More information about the geos-commits
mailing list