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

String concat example #80

Merged
merged 2 commits into from
Jul 10, 2024
Merged

String concat example #80

merged 2 commits into from
Jul 10, 2024

Conversation

crisptrutski
Copy link
Collaborator

@crisptrutski crisptrutski commented Jul 9, 2024

Tried to reproduce a failure, but could not. Added a test demonstrating that it works (now?)

Copy link
Collaborator Author

crisptrutski commented Jul 9, 2024

@crisptrutski crisptrutski self-assigned this Jul 9, 2024
@crisptrutski crisptrutski marked this pull request as ready for review July 9, 2024 11:42
:source-columns [{:table "t" :column "x"}
{:table "t" :column "y"}]
:columns [{:table "t" :column "x" :alias "z"}
{:table "t" :column "y" :alias "z"}]}
Copy link
Contributor

Choose a reason for hiding this comment

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

Does the text fixture need to be loaded in a test file, or does it (now?) auto-load everything it finds?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah there's magic - we loop over all the sql files in this directory, and check whether they have corresponding EDN files. The more EDN files you have, and the more you have in them, the more assertions we autogenerate ✨

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was curious so just checked - we currently have 45 assertions being generated by 17 fixtures.

Copy link
Contributor

@tsmacdonald tsmacdonald left a comment

Choose a reason for hiding this comment

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

👍 assuming the test is running with magic

Base automatically changed from timeout to master July 10, 2024 07:01
Copy link
Collaborator Author

crisptrutski commented Jul 10, 2024

Merge activity

  • Jul 10, 3:02 AM EDT: Graphite rebased this pull request as part of a merge.
  • Jul 10, 3:03 AM EDT: @crisptrutski merged this pull request with Graphite.

@crisptrutski crisptrutski merged commit 3cc7cb7 into master Jul 10, 2024
4 checks passed
@crisptrutski crisptrutski deleted the string-concat branch July 10, 2024 07:03
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