aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_c_api.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-10-16 12:27:12 +0200
committerGitHub <noreply@github.com>2019-10-16 12:27:12 +0200
commit5fbcf98c9ac6184a066d66a39d55bd3084926b2f (patch)
tree83c506c4927f4282384b6f15ebd0f53b0cc417ab /test/unit/test_c_api.cpp
parente2abe08de3d213980536944f9aa1d27352447ccd (diff)
parent885f0b59eaac1424ed962117bac0f85edc42699b (diff)
downloadPROJ-5fbcf98c9ac6184a066d66a39d55bd3084926b2f.tar.gz
PROJ-5fbcf98c9ac6184a066d66a39d55bd3084926b2f.zip
Merge pull request #1673 from rouault/update_epsg_9_8_3
Database: update to EPSG v9.8.3
Diffstat (limited to 'test/unit/test_c_api.cpp')
-rw-r--r--test/unit/test_c_api.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/unit/test_c_api.cpp b/test/unit/test_c_api.cpp
index e7104fae..f8b447ca 100644
--- a/test/unit/test_c_api.cpp
+++ b/test/unit/test_c_api.cpp
@@ -3486,13 +3486,9 @@ TEST_F(CApi, proj_get_remarks) {
auto remarks = proj_get_remarks(co);
ASSERT_NE(remarks, nullptr);
- EXPECT_EQ(
- remarks,
- std::string("Scale difference in ppb where 1/billion = 1E-9. "
- "Derivation excluded Cocos, Christmas and Macquarie "
- "Islands but is applied there. See codes 8444-46 for "
- "equivalents using NTv2 method. See code 8447 for "
- "alternative including distortion model for Aus only."));
+ EXPECT_TRUE(std::string(remarks).find(
+ "Scale difference in ppb where 1/billion = 1E-9.") == 0)
+ << remarks;
}
// ---------------------------------------------------------------------------