Skip to content

Update features to use set#332

Merged
richardwang1124 merged 3 commits into
decaffrom
fix/user-agent
Nov 6, 2025
Merged

Update features to use set#332
richardwang1124 merged 3 commits into
decaffrom
fix/user-agent

Conversation

@richardwang1124
Copy link
Copy Markdown
Contributor

Track features using a set to prevent duplicate metrics.

expect(Features.tracked).to be_empty
end

it 'does not track duplicate features' do
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think amend this test to push A B at the same time and assert that both get removed together. This properly tests the add/remove logic you made.

@richardwang1124 richardwang1124 merged commit 26f3a7b into decaf Nov 6, 2025
21 checks passed
@richardwang1124 richardwang1124 deleted the fix/user-agent branch November 6, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants