Skip to content

Commit

Permalink
passes-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuart Grigg committed May 11, 2019
1 parent 1984709 commit 976c0c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions templatebin/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion templates_test/update.go.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func test{{$alias.UpPlural}}SliceUpdateAll(t *testing.T) {
// Remove Primary keys and unique columns from what we plan to update
var fields []string
if strmangle.StringSliceMatch({{$alias.DownSingular}}ColumnsAll, {{$alias.DownSingular}}PrimaryKeyColumns) {
fields = {{$alias.DownSingular}}Columns
fields = {{$alias.DownSingular}}ColumnsAll
} else {
fields = strmangle.SetComplement(
{{$alias.DownSingular}}ColumnsAll,
Expand Down

0 comments on commit 976c0c1

Please sign in to comment.