Ignore decoder logs
Specifically on Hashdict/Mashdict as they variate based on JSON inputparser
parent
0ef298a28e
commit
086e491b06
|
@ -168,8 +168,8 @@ suite =
|
||||||
|> Json.encode (Hashdict.coder .eventId Event.coder)
|
|> Json.encode (Hashdict.coder .eventId Event.coder)
|
||||||
|> E.encode indent
|
|> E.encode indent
|
||||||
|> D.decodeString (Json.decode <| Hashdict.coder .eventId Event.coder)
|
|> D.decodeString (Json.decode <| Hashdict.coder .eventId Event.coder)
|
||||||
|> Result.map (Tuple.mapFirst Hashdict.toList)
|
|> Result.map (Tuple.first >> Hashdict.toList)
|
||||||
|> Expect.equal (Ok ( Hashdict.toList hashdict, [] ))
|
|> Expect.equal (Ok (Hashdict.toList hashdict))
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
|
@ -198,8 +198,8 @@ suite =
|
||||||
|> Json.encode (Mashdict.coder .stateKey Event.coder)
|
|> Json.encode (Mashdict.coder .stateKey Event.coder)
|
||||||
|> E.encode indent
|
|> E.encode indent
|
||||||
|> D.decodeString (Json.decode <| Mashdict.coder .stateKey Event.coder)
|
|> D.decodeString (Json.decode <| Mashdict.coder .stateKey Event.coder)
|
||||||
|> Result.map (Tuple.mapFirst Mashdict.toList)
|
|> Result.map (Tuple.first >> Mashdict.toList)
|
||||||
|> Expect.equal (Ok ( Mashdict.toList hashdict, [] ))
|
|> Expect.equal (Ok (Mashdict.toList hashdict))
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue