diff options
author | Eric Wong <e@yhbt.net> | 2020-06-10 07:05:16 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-06-13 07:55:45 +0000 |
commit | d33fae954f99c7241be5ef6d6447db9bdc6d648d (patch) | |
tree | 354068362146cfee1f3778373d3e7bb98087e3b9 /t/imapd.t | |
parent | 2db19abcef202dceb316e57264d288d576b9a6e9 (diff) | |
download | public-inbox-d33fae954f99c7241be5ef6d6447db9bdc6d648d.tar.gz |
The sort was unstable on my test instance anyways, and clients don't seem to mind. So stop wasting CPU cycles.
Diffstat (limited to 't/imapd.t')
-rw-r--r-- | t/imapd.t | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -405,7 +405,9 @@ is($r2->{2}->{'BODY[HEADER.FIELDS (MESSAGE-ID)]'}, pop @new_list; pop @orig_list; # TODO: not sure if sort order matters, imapd_refresh_finalize - # sorts, for now, but maybe clients don't care... + # doesn't sort, hopefully clients don't care... + @new_list = sort @new_list; + @orig_list = sort @orig_list; is_deeply(\@new_list, \@orig_list, 'LIST identical'); } ok($mic->close, 'CLOSE works'); |