diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-29 18:05:18 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-29 18:05:18 +0200 |
commit | f549ff6f104598277057ce4d6c3c7d61c8be1819 (patch) | |
tree | 13a305293a5a27d12267cc8102790380fe5597d4 | |
parent | d895b2b315e1a3fe37ca9afd140d6cc791ffc868 (diff) | |
download | dna-backup-f549ff6f104598277057ce4d6c3c7d61c8be1819.tar.gz dna-backup-f549ff6f104598277057ce4d6c3c7d61c8be1819.zip |
try to fix symlink tests for MacOS
-rw-r--r-- | repo_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/repo_test.go b/repo_test.go index b97ebae..bb61a35 100644 --- a/repo_test.go +++ b/repo_test.go @@ -182,6 +182,9 @@ func TestSymlinks(t *testing.T) { if err != nil { t.Fatal(err) } + if n, err := f.Write([]byte("\n")); err != nil { + t.Fatal(n, err) + } if err = f.Close(); err != nil { t.Fatal(err) } |