diff options
author | Valery Piashchynski <[email protected]> | 2020-08-27 11:07:02 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-08-27 11:07:02 +0300 |
commit | e736440450b7828913e7a7c24881b7159b07dbfb (patch) | |
tree | 2aec33a75bfcbb35bbe2d925e5e754a8ff2c6c2b /service/reload/watcher_test.go | |
parent | 090feef263a7d6aa967d37c05efcf7f565efac89 (diff) | |
parent | 88b394324165e3e16253c27552b0d4d7d6628a81 (diff) |
Merge branch 'master' into patch-1
Diffstat (limited to 'service/reload/watcher_test.go')
-rw-r--r-- | service/reload/watcher_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/service/reload/watcher_test.go b/service/reload/watcher_test.go index 391f6bb9..9683d2de 100644 --- a/service/reload/watcher_test.go +++ b/service/reload/watcher_test.go @@ -246,7 +246,7 @@ func Test_Recursive_Support(t *testing.T) { } }() - nestedDir, err := ioutil.TempDir(tempDir, "/nested") + nestedDir, err := ioutil.TempDir(tempDir, "nested") if err != nil { t.Fatal(err) } @@ -368,7 +368,7 @@ func Test_Filter_Directory(t *testing.T) { go limitTime(time.Second*10, t.Name(), c) - nestedDir, err := ioutil.TempDir(tempDir, "/nested") + nestedDir, err := ioutil.TempDir(tempDir, "nested") if err != nil { t.Fatal(err) } @@ -470,7 +470,7 @@ func Test_Copy_Directory(t *testing.T) { c <- struct{}{} }() - nestedDir, err := ioutil.TempDir(tempDir, "/nested") + nestedDir, err := ioutil.TempDir(tempDir, "nested") if err != nil { t.Fatal(err) } @@ -535,7 +535,7 @@ func Test_Copy_Directory(t *testing.T) { go func() { go func() { - err2 := copyDir(nestedDir, filepath.Join(tempDir, "/copyTo")) + err2 := copyDir(nestedDir, filepath.Join(tempDir, "copyTo")) if err2 != nil { panic(err2) } |