From 31eb21e2e95657837b1041affde3986579578aac Mon Sep 17 00:00:00 2001 From: Sungju Jin Date: Tue, 16 Jul 2024 12:19:22 -0700 Subject: [PATCH] rename to testEngineAllowDuplicateTags --- engine_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine_test.go b/engine_test.go index adb4535..5d0c678 100644 --- a/engine_test.go +++ b/engine_test.go @@ -70,7 +70,7 @@ func TestEngine(t *testing.T) { }, { scenario: "calling Engine.Incr produces expected tags when AllowDuplicateTags is set", - function: testEngineSkipTagDuplicateRemoval, + function: testEngineAllowDuplicateTags, }, } @@ -130,7 +130,7 @@ func testEngineFlush(t *testing.T, eng *stats.Engine) { } } -func testEngineSkipTagDuplicateRemoval(t *testing.T, eng *stats.Engine) { +func testEngineAllowDuplicateTags(t *testing.T, eng *stats.Engine) { e2 := eng.WithTags() e2.AllowDuplicateTags = true if e2.Prefix != "test" {