Update derive decoder test

This commit is contained in:
Ayaz Hafiz 2022-08-14 12:59:25 -05:00
parent 634e9a2b69
commit 44a746b473
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -56,9 +56,9 @@ fn record_2_fields() {
assert_snapshot!(golden, @r###"
# derived for { first : Str, second : Str }
# Decoder { first : val, second : val1 } fmt | fmt has DecoderFormatting, val has Decoding, val1 has Decoding
# List U8, fmt -[[22(22)]]-> { rest : List U8, result : [Err [TooShort], Ok { first : val, second : val1 }] } | fmt has DecoderFormatting, val has Decoding, val1 has Decoding
# List U8, fmt -[[customCallback3(22)]]-> { rest : List U8, result : [Err [TooShort], Ok { first : val, second : val1 }] } | fmt has DecoderFormatting, val has Decoding, val1 has Decoding
# Specialization lambda sets:
# @<1>: [[22(22)]]
# @<1>: [[customCallback3(22)]]
#Derived.decoder_{first,second} =
Decode.custom
\#Derived.bytes3, #Derived.fmt3 ->