diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-02-10 15:43:16 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-02-10 15:43:16 +0100 |
| commit | a7f6b407446b35a50b5601650aed993c706fe8ee (patch) | |
| tree | 91c75005dd85ce00b2d84778578e29d117c622bc | |
| parent | 617f92e3d12a87574f3fedff3f315c069cd9f23f (diff) | |
| download | PROJ-a7f6b407446b35a50b5601650aed993c706fe8ee.tar.gz PROJ-a7f6b407446b35a50b5601650aed993c706fe8ee.zip | |
test_operation: use correct variable name
| -rw-r--r-- | test/unit/test_operation.cpp | 6 |
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 " |
