Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(tracex): do not depend on strings for event names #777

Merged
merged 1 commit into from
Jun 1, 2022

Conversation

bassosimone
Copy link
Contributor

Rather than matching a string, match a type.

This is more robust considering future refactorings.

We're confident the names did not change in this refactoring
because we're still testing the same strings in the tests.

Part of ooni/probe#2121

Rather than matching a string, match a type.

This is more robust considering future refactorings.

We're confident the names did not change in _this_ refactoring
because we're still testing the same strings in the tests.

Part of ooni/probe#2121
@bassosimone bassosimone requested a review from hellais as a code owner June 1, 2022 12:06
@bassosimone bassosimone merged commit c740be9 into master Jun 1, 2022
@bassosimone bassosimone deleted the issue/2121 branch June 1, 2022 12:32
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.

1 participant