summaryrefslogtreecommitdiff
path: root/vrsite/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vrsite/main_test.go')
-rw-r--r--vrsite/main_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vrsite/main_test.go b/vrsite/main_test.go
index 7e715b9..b7c93c3 100644
--- a/vrsite/main_test.go
+++ b/vrsite/main_test.go
@@ -18,7 +18,7 @@ func TestWatchLogDebouncesChanges(t *testing.T) {
rebuilt := make(chan struct{}, 2)
go func() {
defer close(stopped)
- watchLogUntil(logPath, 60*time.Millisecond, 5*time.Millisecond, done, func() {
+ watchLogUntil(newFileLog(logPath), 60*time.Millisecond, 5*time.Millisecond, done, func() {
rebuilt <- struct{}{}
})
}()