Skip to content

Refine makeTestFilter() further. #154

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

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Dec 5, 2023

This PR refines the previous PR for this issue, #153. It removes the internal overload of makeTestFilter(matching:uncheckedTestFilter:) because it is redundant: since the result needs to be passed to uncheckedTestFilter to preserve its lack of isHidden-checking, it doesn't also need to impose its own check.

I did add an internal overload of makeTestFilter() to the test target that just returns selection.contains as a convenience.

Resolves rdar://119205417 (again.)

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

This PR refines the previous PR for this issue, #153. It removes the internal overload of `makeTestFilter(matching:uncheckedTestFilter:)` because it is redundant: since the result needs to be passed to `uncheckedTestFilter` to preserve its lack of `isHidden`-checking, it doesn't _also_ need to impose its own check.

I did add an internal overload of `makeTestFilter()` to the test target that just returns `selection.contains` as a convenience.

Resolves rdar://119205417 (again.)
@grynspan
Copy link
Contributor Author

grynspan commented Dec 5, 2023

@swift-ci please test

@grynspan
Copy link
Contributor Author

grynspan commented Dec 5, 2023

@swift-ci please test

@grynspan grynspan merged commit 3fa4ea0 into main Dec 5, 2023
@grynspan grynspan deleted the jgrynspan/119205417-make-test-filter-2 branch December 5, 2023 21:57
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