Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Michael committed Aug 23, 2017
1 parent 15b8587 commit 0bb6436
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions assured/assured_endpoints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ func TestWhenEndpointSuccess(t *testing.T) {
madeCalls: map[string][]*Call{},
}
expected := map[string][]*Call{
"GET:test/assured": []*Call{call2, call1},
":teapot/assured": []*Call{call3},
"GET:test/assured": {call2, call1},
":teapot/assured": {call3},
}

c, err := endpoints.WhenEndpoint(ctx, call1)
Expand Down Expand Up @@ -133,7 +133,7 @@ func TestClearEndpointSuccess(t *testing.T) {
madeCalls: fullAssuredCalls,
}
expected := map[string][]*Call{
":teapot/assured": []*Call{call3},
":teapot/assured": {call3},
}

c, err := endpoints.ClearEndpoint(ctx, call1)
Expand Down Expand Up @@ -191,7 +191,7 @@ var (
StatusCode: http.StatusTeapot,
}
fullAssuredCalls = map[string][]*Call{
"GET:test/assured": []*Call{call1, call2},
":teapot/assured": []*Call{call3},
"GET:test/assured": {call1, call2},
":teapot/assured": {call3},
}
)

0 comments on commit 0bb6436

Please sign in to comment.