Rename ReverseArgs -> ReverseInserts

- Remove debug comment
This commit is contained in:
Aaron L 2016-07-17 17:52:55 -07:00
parent d4170806f5
commit b447018220
4 changed files with 7 additions and 8 deletions

View file

@ -92,7 +92,7 @@ func TestTextsFromForeignKey(t *testing.T) {
expect.Function.Name = "User"
expect.Function.Varname = "user"
expect.Function.Receiver = "v"
expect.Function.ReverseArgs = false
expect.Function.ReverseInserts = false
expect.Function.LocalAssignment = "UserID.Int32"
expect.Function.ForeignAssignment = "ID"
@ -138,7 +138,7 @@ func TestTextsFromOneToOneRelationship(t *testing.T) {
expect.Function.Name = "Video"
expect.Function.Varname = "video"
expect.Function.Receiver = "u"
expect.Function.ReverseArgs = true
expect.Function.ReverseInserts = true
expect.Function.LocalAssignment = "ID"
expect.Function.ForeignAssignment = "UserID.Int32"