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

test: add glob pattern tests to sqlpath.Glob #2995

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

eduardolat
Copy link
Contributor

This Pull Request enhances the sqlpath package by adding new tests for the Glob function, focusing on its ability to handle special pattern characters such as *, ?, [, and ]

Changes:

  • Tests for * Pattern: Ensuring Glob correctly identifies SQL files in subdirectories matching a specified pattern.

  • Tests for ? Character: Verifying Glob's functionality with patterns containing ?, representing a single unknown character.

  • Tests for [ and ] Characters: Assessing Glob's ability to filter files using character ranges.

@kyleconroy kyleconroy merged commit 35da517 into sqlc-dev:main Nov 21, 2023
8 checks passed
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

2 participants