(t *testing.T)
| 93 | } |
| 94 | |
| 95 | func TestSubscribeRelativePathsIgnored(t *testing.T) { |
| 96 | t.Parallel() |
| 97 | |
| 98 | logger := slogtest.Make(t, nil) |
| 99 | h := agentgit.NewHandler(logger) |
| 100 | |
| 101 | added := h.Subscribe([]string{"relative/path.go"}) |
| 102 | require.False(t, added, "relative paths should be ignored") |
| 103 | } |
| 104 | |
| 105 | func TestSubscribeEmptyPaths(t *testing.T) { |
| 106 | t.Parallel() |
nothing calls this directly
no test coverage detected