Skip to content

Commit

Permalink
Fixed type of argument in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
vediatoni committed Jun 8, 2022
1 parent d7d436a commit 4da7b31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codegen/field_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func TestField_CallArgs(t *testing.T) {
Name: "test2",
},
TypeReference: &config.TypeReference{
GO: types.Typ[types.Int],
GO: types.Typ[types.String],
},
},
},
Expand All @@ -151,7 +151,7 @@ func TestField_CallArgs(t *testing.T) {
return nil
}
return fc.Args["test"].(interface{})
}(), fc.Args["test2"].(int)`,
}(), fc.Args["test2"].(string)`,
},
{
Name: "Resolver field that isn't root object with single int argument",
Expand Down

0 comments on commit 4da7b31

Please sign in to comment.