Skip to content

Commit

Permalink
rename to testEngineAllowDuplicateTags
Browse files Browse the repository at this point in the history
  • Loading branch information
sungjujin authored and kevinburkesegment committed Jul 18, 2024
1 parent d582855 commit dc46363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func TestEngine(t *testing.T) {
},
{
scenario: "calling Engine.Incr produces expected tags when AllowDuplicateTags is set",
function: testEngineSkipTagDuplicateRemoval,
function: testEngineAllowDuplicateTags,
},
}

Expand Down Expand Up @@ -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" {
Expand Down

0 comments on commit dc46363

Please sign in to comment.