Skip to content

Commit

Permalink
test: TestWatcherErrRunning
Browse files Browse the repository at this point in the history
  • Loading branch information
romshark committed Jun 15, 2024
1 parent 551e6ad commit a5e099a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/watcher/watcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func TestWatcherRunCancelContext(t *testing.T) {
func TestWatcherErrRunning(t *testing.T) {
base := t.TempDir()
w := runNewWatcher(t, base, nil)

require.NoError(t, w.Add(base)) // Wait for the runner to start
require.ErrorIs(t, w.Run(context.Background()), watcher.ErrRunning)
}

Expand Down

0 comments on commit a5e099a

Please sign in to comment.