souplesse

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 94a89878282e3c2db367faca408e4f5be4b65a82
parent 2204a53a4f7b3c9504cbd30286be05977addee86
Author: Daniel Barlow <dan@telent.net>
Date:   Fri, 25 Oct 2024 00:11:58 +0100

improve test for missing ele

Diffstat:
Mtests/TrackTest.elm | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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