From b0358209d517bdab4a01f4b9ec850d7d2394bb26 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 13 Jan 2005 10:45:57 +0000 Subject: [PATCH] Added GEOSexception test git-svn-id: http://svn.osgeo.org/postgis/trunk@1298 b70326c6-7e19-0410-871a-916f4a2858ee --- regress/regress.sql | 1 + regress/regress_expected | 2 ++ 2 files changed, 3 insertions(+) diff --git a/regress/regress.sql b/regress/regress.sql index f76cf83f2..16f523fe6 100644 --- a/regress/regress.sql +++ b/regress/regress.sql @@ -218,3 +218,4 @@ select '128',a ~ b from TEST; select '129', mem_size(dropBBOX(a)), mem_size(dropBBOX(b)) from TEST; +select '130', geosnoop('POLYGON((0 0, 1 1, 0 0))'); diff --git a/regress/regress_expected b/regress/regress_expected index ddae48f2f..ae9ea0255 100644 --- a/regress/regress_expected +++ b/regress/regress_expected @@ -128,3 +128,5 @@ CREATE TABLE 127|f 128|f 129|34009|34009 +NOTICE: IllegalArgumentException: Number of points must be 0 or >3 +ERROR: POSTGIS2GEOS conversion failed -- 2.40.0