From a02b499726057e3b4d0fe14d35dd3c41a0dcc066 Mon Sep 17 00:00:00 2001 From: Angith <32255855+Angith@users.noreply.github.com> Date: Fri, 17 Jan 2025 23:08:48 +0530 Subject: [PATCH] Update collector_test.go Co-authored-by: Sanoj Subran --- collector_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector_test.go b/collector_test.go index 3451ca9fb..29517fbc9 100644 --- a/collector_test.go +++ b/collector_test.go @@ -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")