From a7f6b407446b35a50b5601650aed993c706fe8ee Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 10 Feb 2021 15:43:16 +0100 Subject: test_operation: use correct variable name --- test/unit/test_operation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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(obj); - ASSERT_TRUE(crs != nullptr); + auto transf = nn_dynamic_pointer_cast(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 " -- cgit v1.2.3