summaryrefslogtreecommitdiff
path: root/service/reload/watcher_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-08-26 22:19:57 +0300
committerValery Piashchynski <[email protected]>2020-08-26 22:19:57 +0300
commit484be3d190f5bb224ac50e2703179b2699bac0ec (patch)
tree70ce9549050a836ca356cb056518b921f1e162cd /service/reload/watcher_test.go
parent5eb26a9f7b76d5cfded1d9d8f05b3c78e2730ef8 (diff)
remove path separators in watcher_test
Diffstat (limited to 'service/reload/watcher_test.go')
-rw-r--r--service/reload/watcher_test.go8
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)
}