aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2022-02-04 17:06:55 +0100
committerGitHub <noreply@github.com>2022-02-04 17:06:55 +0100
commit0139d8c59f7ed135b03855f549d44a3801c42aa1 (patch)
treef44f58395e76d65bc05bf5c0fbdf9df7cb4cd03c /test
parent9033708633f085d7519489e84e5687326bc81432 (diff)
parentc868ea010de15b98ee1e67a81e0a29cc4a1ab734 (diff)
downloadPROJ-0139d8c59f7ed135b03855f549d44a3801c42aa1.tar.gz
PROJ-0139d8c59f7ed135b03855f549d44a3801c42aa1.zip
Merge pull request #3037 from direvus/2529-err-code-unknown-format
Set more precise error code for parsing errors in proj_create().
Diffstat (limited to 'test')
-rw-r--r--test/gie/4D-API_cs2cs-style.gie6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie
index 9189b328..1b0c1541 100644
--- a/test/gie/4D-API_cs2cs-style.gie
+++ b/test/gie/4D-API_cs2cs-style.gie
@@ -533,11 +533,11 @@ expect 0 0 1
roundtrip 1
-------------------------------------------------------------------------------
-# Check that proj_create() returns a generic error when an exception is caught
+# Check that proj_create() returns a syntax error when an exception is caught
# in the creation of a PJ object.
-------------------------------------------------------------------------------
-operation this is a bogus CRS meant to trigger a generic error in proj_create()
-expect failure errno other
+operation this is a bogus CRS meant to trigger a syntax error in proj_create()
+expect failure errno invalid_op_wrong_syntax
-------------------------------------------------------------------------------
# Test proj=set