diff options
Diffstat (limited to 'integration_tests')
-rw-r--r-- | integration_tests/main_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/integration_tests/main_test.go b/integration_tests/main_test.go index 7cc078d..953c552 100644 --- a/integration_tests/main_test.go +++ b/integration_tests/main_test.go @@ -325,14 +325,13 @@ func TestMkdirRmdir(t *testing.T) { } } - // Test Rename func TestRename(t *testing.T) { - err := ioutil.WriteFile(defaultPlainDir + "rename1", []byte("content"), 0777) + err := ioutil.WriteFile(defaultPlainDir+"rename1", []byte("content"), 0777) if err != nil { t.Fatal(err) } - err = syscall.Rename(defaultPlainDir + "rename1", defaultPlainDir + "rename2") + err = syscall.Rename(defaultPlainDir+"rename1", defaultPlainDir+"rename2") if err != nil { t.Fatal(err) } |