about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-21 21:10:19 +0000
committerEric Wong <e@80x24.org>2021-10-22 00:54:35 +0000
commit1f461aead59a7fd92a1a262b962dd3c3d6bc1ef6 (patch)
tree53f1cf9b80d5587e1cebb24edd827500a27dd908 /t
parent4a07ad8e30be7a965797b3c49425b638b9b83906 (diff)
downloadpublic-inbox-1f461aead59a7fd92a1a262b962dd3c3d6bc1ef6.tar.gz
t/lei-import-maildir: rename fix (SR -> RS)
While it doesn't matter to us, the Maildir spec specifies
characters are to be sorted in alphabetical order.
Diffstat (limited to 't')
-rw-r--r--t/lei-import-maildir.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lei-import-maildir.t b/t/lei-import-maildir.t
index c81e7805..1e7eddd5 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);