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: cleanup glob implementation, add tests #420

Merged
merged 1 commit into from May 5, 2023

Conversation

jbedard
Copy link
Member

@jbedard jbedard commented May 5, 2023

Prefactor to #419

To add more test coverage and cleanup to keep the actual fix minimal.


Type of change

  • Refactor (a code change that neither fixes a bug or adds a new feature)

Test plan

  • Covered by existing test cases
  • New test cases added

@jbedard jbedard requested a review from gregmagolan May 5, 2023 18:24
@jbedard jbedard force-pushed the 419-prefactor branch 2 times, most recently from ac40d71 to ef8a388 Compare May 5, 2023 18:59
Copy link
Member

@thesayyn thesayyn left a comment

Choose a reason for hiding this comment

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

LGTM

@jbedard jbedard merged commit c363420 into aspect-build:main May 5, 2023
16 checks passed
return _glob_match_test(
ctx,
"**/*.tf",
matches = ["a/b.tf", "ab/cd/e.tf"],
Copy link
Member

Choose a reason for hiding this comment

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

This was the one that broke the release right? It should also match a .tf file at the root: "c.tf"

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, and this PR doesn't fix it. This just does some prefactors before the fix.

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.

None yet

3 participants