Skip to content

Commit 42f8103

Browse files
committed
Fix incorrect test setup.
1 parent 7a37ea5 commit 42f8103

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/crs_test.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,8 @@ def test_create_bound_crs_to_wgs84
939939
end
940940

941941
def test_create_engineering
942-
crs = Proj::Crs.create_engineering("EPSG", name: "4807")
942+
context = Proj::Context.new
943+
crs = Proj::Crs.create_engineering(context, name: "4807")
943944
assert_equal("4807", crs.name)
944945
assert_equal(:PJ_TYPE_ENGINEERING_CRS, crs.proj_type)
945946

0 commit comments

Comments
 (0)