improve test for missing ele
This commit is contained in:
parent
2204a53a4f
commit
94a8987828
@ -24,7 +24,8 @@ specs =
|
|||||||
in
|
in
|
||||||
case Track.parse xml of
|
case Track.parse xml of
|
||||||
Ok (p::pts) ->
|
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"
|
Ok _ -> Expect.fail "empty list"
|
||||||
(Err f) -> Expect.fail f
|
(Err f) -> Expect.fail f
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user