diff --git a/templates_test/relationship_to_many.tpl b/templates_test/relationship_to_many.tpl index d23984e..0080688 100644 --- a/templates_test/relationship_to_many.tpl +++ b/templates_test/relationship_to_many.tpl @@ -28,7 +28,7 @@ func test{{$txt.LocalTable.NameGo}}ToMany{{$txt.Function.Name}}(t *testing.T) { {{if .Nullable -}} a.{{.Column | titleCase}}.Valid = true {{- end}} - {{- if .ForeignColumnNullable -}} + {{- if .ForeignColumnNullable}} b.{{.ForeignColumn | titleCase}}.Valid = true c.{{.ForeignColumn | titleCase}}.Valid = true {{- end}}