Fix bug in insert output.

This commit is contained in:
Aaron L 2016-07-09 09:31:09 -07:00
parent 013b3ae0f8
commit 0cea9b1edc

View file

@ -3,7 +3,7 @@
{{- $tableNamePlural := .Table.Name | plural | titleCase -}} {{- $tableNamePlural := .Table.Name | plural | titleCase -}}
{{- $varNamePlural := .Table.Name | plural | camelCase -}} {{- $varNamePlural := .Table.Name | plural | camelCase -}}
{{- $varNameSingular := .Table.Name | singular | camelCase -}} {{- $varNameSingular := .Table.Name | singular | camelCase -}}
{{- $parent := .}} {{- $parent := . -}}
func Test{{$tableNamePlural}}Insert(t *testing.T) { func Test{{$tableNamePlural}}Insert(t *testing.T) {
var err error var err error
var errs []error var errs []error