From 7bd7a4233e446a3b8212c8f35233c5ba6f223791 Mon Sep 17 00:00:00 2001 From: Christopher Brown Date: Sat, 12 Dec 2015 15:49:58 -0600 Subject: [PATCH] Fix tests to reflect what imap returns --- imap/imap-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imap/imap-tests.ts b/imap/imap-tests.ts index 23f5f8f17..8d9ce6cce 100644 --- a/imap/imap-tests.ts +++ b/imap/imap-tests.ts @@ -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) {