summaryrefslogtreecommitdiff
path: root/vrsite/main_test.go
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-02 12:36:54 -0300
committerGabriel Schneider <[email protected]>2026-08-02 17:37:58 -0300
commite16f78b255bcf46d8c6f9a4b9e76dd7a3817edeb (patch)
treede0db0c369522b5bf92ff32a8351de2224c5c9dc /vrsite/main_test.go
parent151ea12251ed876aa87bb486da1bc337e25369e9 (diff)
downloadnotevi-e16f78b255bcf46d8c6f9a4b9e76dd7a3817edeb.tar.gz
notevi-e16f78b255bcf46d8c6f9a4b9e76dd7a3817edeb.zip
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{}{}
})
}()