Fix store test codegen
This commit is contained in:
@@ -2,7 +2,7 @@ package tests
|
||||
|
||||
// This file is auto-generated.
|
||||
//
|
||||
// Template: pkg/codegen/assets/store_test_all.gen.go
|
||||
// Template: pkg/codegen/assets/store_test_all.gen.go.tpl
|
||||
// Definitions:
|
||||
{{ range . }}
|
||||
{{- if .Exported -}}
|
||||
@@ -20,11 +20,9 @@ import (
|
||||
|
||||
func testAllGenerated(t *testing.T, s store.Storable) {
|
||||
{{- range . }}
|
||||
{{- if .Exported }}
|
||||
// Run generated tests for {{ .Types.Base }}
|
||||
t.Run({{ printf "%q" .Types.Base }}, func(t *testing.T) {
|
||||
test{{ export .Types.Base }}(t, s)
|
||||
})
|
||||
{{ end -}}
|
||||
// Run generated tests for {{ .Types.Base }}
|
||||
t.Run({{ printf "%q" .Types.Base }}, func(t *testing.T) {
|
||||
test{{ export .Types.Base }}(t, s)
|
||||
})
|
||||
{{ end -}}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user