From f549ff6f104598277057ce4d6c3c7d61c8be1819 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 29 Sep 2021 18:05:18 +0200 Subject: try to fix symlink tests for MacOS --- repo_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'repo_test.go') 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) } -- cgit v1.2.3