Picking some nits that my IDE complained about (#91)
* Picking some nits that my IDE complained about Signed-off-by: Steve Coffman <[email protected]> * Update graphql/util.go Co-authored-by: Ben Kraft <[email protected]> * revert to original for comment Signed-off-by: Steve Coffman <[email protected]> Co-authored-by: Ben Kraft <[email protected]>
This commit is contained in:
co-authored by
Ben Kraft
parent
639b46df32
commit
673840e495
@@ -223,7 +223,7 @@ func TestInterfaceListPointerField(t *testing.T) {
|
||||
assert.Equal(t, "Yours Truly", (*resp.Beings[0]).GetName())
|
||||
|
||||
user, ok := (*resp.Beings[0]).(*queryWithInterfaceListPointerFieldBeingsUser)
|
||||
require.Truef(t, ok, "got %T, not User", (*resp.Beings[0]))
|
||||
require.Truef(t, ok, "got %T, not User", *resp.Beings[0])
|
||||
assert.Equal(t, "1", user.Id)
|
||||
assert.Equal(t, "Yours Truly", user.Name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user