diff --git a/tests/imap_test.rs b/tests/imap_test.rs index b1687e8..ce82293 100644 --- a/tests/imap_test.rs +++ b/tests/imap_test.rs @@ -74,7 +74,7 @@ fn msg() { // List messages // TODO: check non-existance of \Seen flag - let msgs = imap_conn.list_msgs("INBOX", &10, &1).unwrap(); + let msgs = imap_conn.list_msgs("INBOX", &10, &0).unwrap(); let msgs = if let Some(ref fetches) = msgs { Msgs::from(fetches) } else {