Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
fixed ccomp tests for wireup
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonrichardsmith committed Jan 2, 2017
1 parent ea80c7d commit f6ca332
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion component_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ import (
"net/http/httptest"
"testing"

"github.com/opentracing/opentracing-go"
"golang.org/x/net/context"
)

func TestComponent(t *testing.T) {
// Mechanical stuff.
ctx := context.Background()

handler, logger := WireUp(ctx, float32(99.99))
handler, logger := WireUp(ctx, float32(99.99), opentracing.GlobalTracer())

ts := httptest.NewServer(handler)
defer ts.Close()
Expand Down

0 comments on commit f6ca332

Please sign in to comment.