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

Creating set of test selectors using non-existing chain ids #7

Merged
merged 3 commits into from
Sep 27, 2023

Conversation

mateusz-sekara
Copy link
Collaborator

No description provided.

@mateusz-sekara mateusz-sekara requested a review from a team as a code owner September 27, 2023 10:16
selectors.go Outdated
for k, v := range selectors {
output[k] = v
}
for k, v := range testSelectors {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we'd want to ensure these are distinct sets right? ie panic on set overlap

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Makes sense, will do this defensive check.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's always read from the yml file. So maybe instead of panic, we could just have a test that will verify if there is no overlap between these two?

@mateusz-sekara mateusz-sekara merged commit c01c952 into main Sep 27, 2023
1 check passed
@mateusz-sekara mateusz-sekara deleted the test-selectors branch September 27, 2023 16:07
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.

2 participants