chore: refactor (#2545)

* chore: refactor

* chore: refactor
This commit is contained in:
Kevin Wan
2022-10-22 22:52:40 +08:00
committed by GitHub
parent 7fe2492009
commit 9cadab2684
4 changed files with 26 additions and 20 deletions

View File

@@ -60,7 +60,7 @@ func TestDontTracingSpanName(t *testing.T) {
Sampler: 1.0,
})
DontTracingSpanName("bar")
DontTraceSpan("bar")
for _, test := range []string{"", "bar", "foo"} {
t.Run(test, func(t *testing.T) {