Rename the builtin kind from generator to sample
Tests / vet + fmt + tests (pull_request) Successful in 32s

This commit is contained in:
2026-09-01 21:41:35 +02:00
parent 04b7b6a432
commit 5d33f4c0f0
5 changed files with 30 additions and 29 deletions
+3 -2
View File
@@ -5,8 +5,9 @@ import (
"testing"
)
// newGenerator creates a generator over a single data directory, failing on error. Most
// tests load one dir; newGeneratorN loads several (last-loaded wins on conflicts).
// newGenerator creates a generator over a single data directory, failing on
// error. Most tests load one dir; newGeneratorN loads several (last-loaded wins
// on conflicts).
func newGenerator(t *testing.T, dir string, opts ...Option) *Generator {
t.Helper()
return newGeneratorN(t, []string{dir}, opts...)