diff --git a/import_test.go b/import_test.go index 61a4eeb..73b33cc 100644 --- a/import_test.go +++ b/import_test.go @@ -43,6 +43,7 @@ func TestMaildirReader(t *testing.T) { createTemp := func(pattern string) (*os.File, error) { return os.CreateTemp("", pattern) } + // todo: rename 1642966915.1.mox to "1642966915.1.mox:2,"? cannot have that name in the git repo because go module (or the proxy) doesn't like it. could also add some flags and test they survive the import. newf, err := os.Open("testdata/importtest.maildir/new") if err != nil { t.Fatalf("open maildir new: %v", err) diff --git a/testdata/importtest.maildir/cur/1642966915.1.mox:2, b/testdata/importtest.maildir/cur/1642966915.1.mox similarity index 100% rename from testdata/importtest.maildir/cur/1642966915.1.mox:2, rename to testdata/importtest.maildir/cur/1642966915.1.mox diff --git a/testdata/importtest.maildir/new/1642968136.5.mox:2, b/testdata/importtest.maildir/new/1642968136.5.mox similarity index 100% rename from testdata/importtest.maildir/new/1642968136.5.mox:2, rename to testdata/importtest.maildir/new/1642968136.5.mox