mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 13:44:37 +03:00
move "link or copy" functionality to moxio
and add a bit more logging for unexpected failures when closing files. and make tests pass with a TMPDIR on a different filesystem than the testdata directory.
This commit is contained in:
@ -30,7 +30,7 @@ func TestExport(t *testing.T) {
|
||||
|
||||
log := mlog.New("export")
|
||||
|
||||
msgFile, err := os.CreateTemp("", "mox-test-export")
|
||||
msgFile, err := CreateMessageTemp("mox-test-export")
|
||||
tcheck(t, err, "create temp")
|
||||
defer os.Remove(msgFile.Name()) // To be sure.
|
||||
const msg = "test: test\r\n\r\ntest\r\n"
|
||||
|
Reference in New Issue
Block a user