Skip to content

Commit e9ce892

Browse files
authored
Update json_test.exs
1 parent eb22551 commit e9ce892

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/geo/json_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ defmodule Geo.JSON.Test do
8383

8484
test "GeoJson to LineStringZ and back" do
8585
json = "{ \"type\": \"LineStringZ\", \"coordinates\": [ [100.0, 0.0, 50.0], [101.0, 1.0, 20.0] ]}"
86-
exjson = Poison.decode!(json)
87-
geom = Poison.decode!(json) |> Geo.JSON.decode!()
86+
exjson = Jason.decode!(json)
87+
geom = Jason.decode!(json) |> Geo.JSON.decode!()
8888

8989
assert(geom.coordinates == [{100.0, 0.0, 50.0}, {101.0, 1.0, 20.0}])
9090
new_exjson = Geo.JSON.encode!(geom)

0 commit comments

Comments
 (0)