Skip to content

Commit

Permalink
simplified cmd/prep/prep_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
hexdigest committed Dec 19, 2017
1 parent 4f6dbaa commit 029cd91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/prep/prep_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func Test_queryFinder_Visit(t *testing.T) {
name: "Query",
qf: &queryFinder{
packageInfo: &types.Info{},
prepInterfaces: map[string]*types.Interface{"querier": &types.Interface{}},
prepInterfaces: map[string]*types.Interface{"querier": {}},
},
node: &ast.CallExpr{
Fun: &ast.SelectorExpr{
Expand All @@ -96,7 +96,7 @@ func Test_queryFinder_Visit(t *testing.T) {
name: "QueryContext",
qf: &queryFinder{
packageInfo: &types.Info{},
prepInterfaces: map[string]*types.Interface{"querierWithContext": &types.Interface{}},
prepInterfaces: map[string]*types.Interface{"querierWithContext": {}},
},
node: &ast.CallExpr{
Fun: &ast.SelectorExpr{
Expand Down

0 comments on commit 029cd91

Please sign in to comment.