Skip to content

clean up tests and some name literals#7

Merged
crhntr merged 3 commits intomainfrom
chore/clean-up-tests-and-some-name-literals
Mar 20, 2026
Merged

clean up tests and some name literals#7
crhntr merged 3 commits intomainfrom
chore/clean-up-tests-and-some-name-literals

Conversation

@crhntr
Copy link
Copy Markdown
Member

@crhntr crhntr commented Mar 19, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 19, 2026 19:08
@crhntr crhntr added the chore label Mar 19, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the test suite to align naming literals with the loosey project name and adds a guard test to ensure generated SQL stays consistent across internal dialect packages.

Changes:

  • Add a test ensuring each internal/*/schema.sql is included verbatim within the corresponding queries.sql.
  • Rename integration test container DB/user/password literals from lucy* to loosey*.
  • Adjust goosey test helper/comment wording (and remove a t.Helper() call).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
provider_test.go Adds a cross-package SQL consistency test (schema.sql must be a substring of queries.sql).
internal/integrations/pgx/integration_test.go Renames Postgres testcontainer database/user/password literals to loosey*.
internal/integrations/mysql/integration_test.go Renames MariaDB testcontainer database/user/password literals to loosey*.
goosey/goosey.go Removes t.Helper() from the Run test helper.
goosey/compat.go Updates log/error strings and comments from lucy to loosey.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread provider_test.go
Comment thread goosey/goosey.go
Comment thread goosey/compat.go
Copilot AI review requested due to automatic review settings March 20, 2026 19:40
@crhntr crhntr force-pushed the chore/clean-up-tests-and-some-name-literals branch from dd70acf to 6160615 Compare March 20, 2026 19:40
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread provider_test.go Outdated
@crhntr crhntr force-pushed the chore/clean-up-tests-and-some-name-literals branch from 6160615 to f7b50aa Compare March 20, 2026 21:16
@crhntr crhntr merged commit 97d5abc into main Mar 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants