From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id EBDEB1FA11 for ; Thu, 21 Oct 2021 21:10:32 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 02/15] t/lei-import-maildir: rename fix (SR -> RS) Date: Thu, 21 Oct 2021 21:10:19 +0000 Message-Id: <20211021211032.22666-3-e@80x24.org> In-Reply-To: <20211021211032.22666-1-e@80x24.org> References: <20211021211032.22666-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: While it doesn't matter to us, the Maildir spec specifies characters are to be sorted in alphabetical order. --- t/lei-import-maildir.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/lei-import-maildir.t b/t/lei-import-maildir.t index c81e7805fe7f..1e7eddd571d8 100644 --- a/t/lei-import-maildir.t +++ b/t/lei-import-maildir.t @@ -52,7 +52,7 @@ test_lei(sub { my $r2 = json_utf8->decode($lei_out); is_deeply($r2, $res, 'idempotent import') or diag explain($imp_err, $res); - rename("$md/cur/x:2,S", "$md/cur/x:2,SR") or BAIL_OUT "rename: $!"; + rename("$md/cur/x:2,S", "$md/cur/x:2,RS") or BAIL_OUT "rename: $!"; lei_ok('import', "maildir:$md", \'import Maildir after +answered'); lei_ok(qw(q -d none s:boolean), \'lei q after +answered'); $res = json_utf8->decode($lei_out);