Skip to content

Commit c86eb45

Browse files
test: use map for table-driven tests in MultigresCluster controller
Refactors the table-driven tests in `TestMultigresClusterReconciler_Reconcile` to use a map keyed by the test name instead of a slice of structs. This enforces unique test names and improves the clarity and maintainability of the test suite by explicitly associating the test logic with its description.
1 parent 48a1ec0 commit c86eb45

File tree

1 file changed

+49
-95
lines changed

1 file changed

+49
-95
lines changed

0 commit comments

Comments
 (0)