diff --git a/tests/Test/Tools/Hashdict.elm b/tests/Test/Tools/Hashdict.elm index 7eb3bbf..2243bf0 100644 --- a/tests/Test/Tools/Hashdict.elm +++ b/tests/Test/Tools/Hashdict.elm @@ -168,8 +168,8 @@ suite = |> Json.encode (Hashdict.coder .eventId Event.coder) |> E.encode indent |> D.decodeString (Json.decode <| Hashdict.coder .eventId Event.coder) - |> Result.map (Tuple.mapFirst Hashdict.toList) - |> Expect.equal (Ok ( Hashdict.toList hashdict, [] )) + |> Result.map (Tuple.first >> Hashdict.toList) + |> Expect.equal (Ok (Hashdict.toList hashdict)) ) ] ] diff --git a/tests/Test/Tools/Mashdict.elm b/tests/Test/Tools/Mashdict.elm index 0425dc0..ee93b99 100644 --- a/tests/Test/Tools/Mashdict.elm +++ b/tests/Test/Tools/Mashdict.elm @@ -198,8 +198,8 @@ suite = |> Json.encode (Mashdict.coder .stateKey Event.coder) |> E.encode indent |> D.decodeString (Json.decode <| Mashdict.coder .stateKey Event.coder) - |> Result.map (Tuple.mapFirst Mashdict.toList) - |> Expect.equal (Ok ( Mashdict.toList hashdict, [] )) + |> Result.map (Tuple.first >> Mashdict.toList) + |> Expect.equal (Ok (Mashdict.toList hashdict)) ) ] ]