diff --git a/tests/TrackTest.elm b/tests/TrackTest.elm index ef13302..554b950 100644 --- a/tests/TrackTest.elm +++ b/tests/TrackTest.elm @@ -24,7 +24,8 @@ specs = in case Track.parse xml of Ok (p::pts) -> - Expect.equal p (Point (51.600643, -0.01856, Nothing) (Just (Time.millisToPosix 1729669252256)) (Just 89)) + case p.loc of + (_, _, ele) -> Expect.equal ele Nothing Ok _ -> Expect.fail "empty list" (Err f) -> Expect.fail f