aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_operation.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-02-10 15:43:16 +0100
committerEven Rouault <even.rouault@spatialys.com>2021-02-10 15:43:16 +0100
commita7f6b407446b35a50b5601650aed993c706fe8ee (patch)
tree91c75005dd85ce00b2d84778578e29d117c622bc /test/unit/test_operation.cpp
parent617f92e3d12a87574f3fedff3f315c069cd9f23f (diff)
downloadPROJ-a7f6b407446b35a50b5601650aed993c706fe8ee.tar.gz
PROJ-a7f6b407446b35a50b5601650aed993c706fe8ee.zip
test_operation: use correct variable name
Diffstat (limited to 'test/unit/test_operation.cpp')
-rw-r--r--test/unit/test_operation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp
index 5b576fb4..b40ebd5e 100644
--- a/test/unit/test_operation.cpp
+++ b/test/unit/test_operation.cpp
@@ -5552,11 +5552,11 @@ TEST(operation,
"file\",\"foo.gtx\"]]";
auto obj = WKTParser().createFromWKT(wkt);
- auto crs = nn_dynamic_pointer_cast<Transformation>(obj);
- ASSERT_TRUE(crs != nullptr);
+ auto transf = nn_dynamic_pointer_cast<Transformation>(obj);
+ ASSERT_TRUE(transf != nullptr);
// Test that even if the .gtx file is unknown, we export in the correct
// direction
- EXPECT_EQ(crs->exportToPROJString(PROJStringFormatter::create().get()),
+ EXPECT_EQ(transf->exportToPROJString(PROJStringFormatter::create().get()),
"+proj=pipeline "
"+step +proj=axisswap +order=2,1 "
"+step +proj=unitconvert +xy_in=deg +xy_out=rad "