aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit/test_network.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/test_network.cpp b/test/unit/test_network.cpp
index 89d66797..5cd32f68 100644
--- a/test/unit/test_network.cpp
+++ b/test/unit/test_network.cpp
@@ -749,6 +749,8 @@ TEST(networking, curl_hgridshift) {
c.xyz.z = 0;
c = proj_trans(P, PJ_FWD, c);
+ proj_assign_context(P, ctx); // (dummy) test context reassignment
+
proj_destroy(P);
proj_context_destroy(ctx);
@@ -778,6 +780,8 @@ TEST(networking, curl_vgridshift) {
c.xyz.z = 0;
c = proj_trans(P, PJ_FWD, c);
+ proj_assign_context(P, ctx); // (dummy) test context reassignment
+
proj_destroy(P);
proj_context_destroy(ctx);