Skip to content

Commit

Permalink
Update collector_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sanoj Subran <[email protected]>
  • Loading branch information
Angith and sanojsubran authored Jan 17, 2025
1 parent 58cd076 commit a02b499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func Test_Collector_LegacySensor(t *testing.T) {
s := c.LegacySensor()
defer instana.ShutdownCollector()

assert.NotNil(t, getInstanaCollector().LegacySensor())
assert.NotNil(t, c.LegacySensor())

h := instana.TracingHandlerFunc(s, "/{action}", func(w http.ResponseWriter, req *http.Request) {
fmt.Fprintln(w, "Ok")
Expand Down

0 comments on commit a02b499

Please sign in to comment.