We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d52a43c commit 4d970a6Copy full SHA for 4d970a6
1 file changed
mdl/executor/registry_test.go
@@ -295,8 +295,9 @@ func TestNewRegistry_Completeness(t *testing.T) {
295
}
296
297
298
-// TestNewRegistry_HandlerCountSnapshot validates the expected number of
299
-// registered handlers. Update the expected count when adding new handlers.
+// TestNewRegistry_HandlerCountSnapshot verifies that the number of registered
+// handlers matches allKnownStatements(). Keep allKnownStatements() in sync with
300
+// known statement types and handler registrations.
301
func TestNewRegistry_HandlerCountSnapshot(t *testing.T) {
302
r := NewRegistry()
303
known := allKnownStatements()
0 commit comments