File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -667,8 +667,8 @@ mod tests {
667667
668668 #[ test]
669669 fn test_envelope ( ) {
670- let env =
r #"ENVELOPE ("Wed, 17 Jul 1996 02:23:25 -0700 (PDT)" "IMAP4rev1 WG mtg summary and minutes" (("Terry Gray" NIL "gray" "cac.washington.edu")) (("Terry Gray" NIL "gray" "cac.washington.edu")) (("Terry Gray" NIL "gray" "cac.washington.edu")) ((NIL NIL "imap" "cac.washington.edu")) ((NIL NIL "minutes" "CNRI.Reston.VA.US") ("John Klensin" NIL "KLENSIN" "MIT.EDU")) NIL NIL "<[email protected] >") "#; 671- match crate :: parser:: rfc3501:: msg_att_envelope ( env. as_bytes ( ) ) {
670+ let env =
br #"ENVELOPE ("Wed, 17 Jul 1996 02:23:25 -0700 (PDT)" "IMAP4rev1 WG mtg summary and minutes" (("Terry Gray" NIL "gray" "cac.washington.edu")) (("Terry Gray" NIL "gray" "cac.washington.edu")) (("Terry Gray" NIL "gray" "cac.washington.edu")) ((NIL NIL "imap" "cac.washington.edu")) ((NIL NIL "minutes" "CNRI.Reston.VA.US") ("John Klensin" NIL "KLENSIN" "MIT.EDU")) NIL NIL "<[email protected] >") "#; 671+ match crate :: parser:: rfc3501:: msg_att_envelope ( env) {
672672 Ok ( ( _, AttributeValue :: Envelope ( _) ) ) => { } ,
673673 rsp => panic ! ( "unexpected response {:?}" , rsp)
674674 }
You can’t perform that action at this time.
0 commit comments