Correct test naming
This commit is contained in:
parent
8b60b97b9f
commit
2299bcecb1
|
@ -152,7 +152,7 @@ func TestOneToOne(t *testing.T) {
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- range $table.ToOneRelationships -}}
|
{{- range $table.ToOneRelationships -}}
|
||||||
{{- $txt := txtsFromOneToOne $dot.Tables $table . -}}
|
{{- $txt := txtsFromOneToOne $dot.Tables $table . -}}
|
||||||
t.Run("{{$txt.LocalTable.NameGo}}To{{$txt.Function.Name}}", test{{$txt.LocalTable.NameGo}}ToMany{{$txt.Function.Name}})
|
t.Run("{{$txt.LocalTable.NameGo}}To{{$txt.Function.Name}}", test{{$txt.LocalTable.NameGo}}OneToOne{{$txt.Function.Name}})
|
||||||
{{end -}}{{- /* range */ -}}
|
{{end -}}{{- /* range */ -}}
|
||||||
{{- end -}}{{- /* outer if join table */ -}}
|
{{- end -}}{{- /* outer if join table */ -}}
|
||||||
{{- end -}}{{- /* outer tables range */ -}}
|
{{- end -}}{{- /* outer tables range */ -}}
|
||||||
|
|
Loading…
Reference in a new issue