imap-codec 1.0.0

Rock-solid and complete codec for IMAP
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cfg(test)]
mod tests {
    use imap_types::command::{Command, CommandBody};

    use crate::testing::kat_inverse_command;

    #[test]
    fn test_kat_inverse_command_unselect() {
        kat_inverse_command(&[(
            b"A UNSELECT\r\n".as_ref(),
            b"".as_ref(),
            Command::new("A", CommandBody::unselect()).unwrap(),
        )]);
    }
}