copy: unit test for chown

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
This commit is contained in:
Yoan Blanc
2020-03-17 15:19:00 +01:00
parent c136f886a9
commit 3ff2ee3ba5
7 changed files with 111 additions and 7 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ func CheckError(t *testing.T, shouldErr bool, err error) {
func CheckNoError(t *testing.T, err error) {
if err != nil {
t.Error(err)
t.Errorf("%+v", err)
}
}