Fix tests to reflect what imap returns

This commit is contained in:
Christopher Brown
2015-12-12 15:49:58 -06:00
parent 3a4f3278d7
commit 7bd7a4233e
+1 -1
View File
@@ -124,7 +124,7 @@ var fs = require('fs');
openInbox(function(err : Error, box : IMAP.Box) {
if (err) throw err;
imap.search([ 'UNSEEN', ['SINCE', 'May 20, 2010'] ], function(err : Error, results : string[]) {
imap.search([ 'UNSEEN', ['SINCE', 'May 20, 2010'] ], function(err : Error, results : number[]) {
if (err) throw err;
var f = imap.fetch(results, { bodies: '' });
f.on('message', function(msg : IMAP.ImapMessage, seqno : number) {