aboutsummaryrefslogtreecommitdiff
path: root/tests/test_helpers
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-07-12 13:35:37 +0200
committerJakob Unterwurzacher2020-07-12 13:35:37 +0200
commit735e2aa65b25e24743c4a60f763633bcba982b72 (patch)
tree6a52d2a8b382511c0ddbff98aa969fca573acef7 /tests/test_helpers
parentb1d631d432ea0a7158060c31de6dd4370d6606e8 (diff)
v2api: fix Mkdir crash when using plaintextnames
Diffstat (limited to 'tests/test_helpers')
-rw-r--r--tests/test_helpers/helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_helpers/helpers.go b/tests/test_helpers/helpers.go
index 2d23586..37c82c1 100644
--- a/tests/test_helpers/helpers.go
+++ b/tests/test_helpers/helpers.go
@@ -280,7 +280,7 @@ func TestRename(t *testing.T, plainDir string) {
}
err = syscall.Rename(file1, file2)
if err != nil {
- t.Error(err)
+ t.Errorf("Rename: %v", err)
return
}
syscall.Unlink(file2)