Skip to content

Commit 4d970a6

Browse files
committed
Clarify handler count snapshot test comment per review
1 parent d52a43c commit 4d970a6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

mdl/executor/registry_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,9 @@ func TestNewRegistry_Completeness(t *testing.T) {
295295
}
296296
}
297297

298-
// TestNewRegistry_HandlerCountSnapshot validates the expected number of
299-
// registered handlers. Update the expected count when adding new handlers.
298+
// TestNewRegistry_HandlerCountSnapshot verifies that the number of registered
299+
// handlers matches allKnownStatements(). Keep allKnownStatements() in sync with
300+
// known statement types and handler registrations.
300301
func TestNewRegistry_HandlerCountSnapshot(t *testing.T) {
301302
r := NewRegistry()
302303
known := allKnownStatements()

0 commit comments

Comments
 (0)