runQueryTests runs multiple query tests
(t *testing.T, tests []QueryTest)
| 363 | |
| 364 | // runQueryTests runs multiple query tests |
| 365 | func runQueryTests(t *testing.T, tests []QueryTest) { |
| 366 | for _, test := range tests { |
| 367 | t.Run(test.Name, func(t *testing.T) { |
| 368 | runQueryTest(t, test) |
| 369 | }) |
| 370 | } |
| 371 | } |
| 372 | |
| 373 | // formatDifferences formats a list of differences for display |
| 374 | func formatDifferences(diffs []string) string { |
no test coverage detected