Skip to content

Commit

Permalink
Fix format for query tests
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Catudal <serge.catudal@gmail.com>
  • Loading branch information
secat committed Sep 20, 2018
1 parent e192071 commit db47374
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/deployment/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func TestQueryServices(t *testing.T) {
}

func TestQueryIngresses(t *testing.T) {
newBool := func (value bool) *bool {
newBool := func(value bool) *bool {
return &value
}

Expand All @@ -78,12 +78,12 @@ func TestQueryIngresses(t *testing.T) {
},
{
name: "IngressEnabledFalse",
ingressSpec: v1alpha1.JaegerQueryIngressSpec{Enabled:newBool(false)},
ingressSpec: v1alpha1.JaegerQueryIngressSpec{Enabled: newBool(false)},
expectedIngressesCount: 0,
},
{
name: "IngressEnabledTrue",
ingressSpec: v1alpha1.JaegerQueryIngressSpec{Enabled:newBool(true)},
ingressSpec: v1alpha1.JaegerQueryIngressSpec{Enabled: newBool(true)},
expectedIngressesCount: 1,
},
}
Expand Down

0 comments on commit db47374

Please sign in to comment.