[geos-commits] r3389 - trunk/php/test

svn_geos at osgeo.org svn_geos at osgeo.org
Thu Jun 2 16:13:55 EDT 2011


Author: strk
Date: 2011-06-02 13:13:55 -0700 (Thu, 02 Jun 2011)
New Revision: 3389

Modified:
   trunk/php/test/test.php
Log:
Add test for bug #448

Modified: trunk/php/test/test.php
===================================================================
--- trunk/php/test/test.php	2011-05-30 13:16:25 UTC (rev 3388)
+++ trunk/php/test/test.php	2011-06-02 20:13:55 UTC (rev 3389)
@@ -115,6 +115,14 @@
         } catch (Exception $e) {
             $this->assertContains('ParseException', $e->getMessage());
         }
+
+        /* BOGUS call (#448) */
+	try {
+        	$reader->read();
+	} catch (Exception $e) {
+            $this->assertContains('expects exactly 1 parameter',
+                                  $e->getMessage());
+	}
     }
 
     public function testWKTWriter__construct()



More information about the geos-commits mailing list