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)
|
||||
|> 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))
|
||||
)
|
||||
]
|
||||
]
|
||||
|
|
|
@ -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))
|
||||
)
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue