-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix (#3395) sqlx::test macro in 0.8 #3403
Conversation
@joeydewaal do you mind adding a regression test so we can catch if this happens in the future? |
Not sure what the best way is to add a test for a proc macro, but this should work! |
I should have mentioned there's already existing test files, one for each supported database: |
It looks like there was a test for mysql that should've caught this. I added a test for postgres and sqlite. |
@joeydewaal run |
Yes of course! |
* fix: fixture macro attribute * remove extra new line * add extra new line * feat: add test for slqx::test macro * feat: update test for sqlx::test macro * remove old macro test * feat: add postgres and sqlite test * rust format * cargo fmt * fix fixtures execution order in test
* fix: fixture macro attribute * remove extra new line * add extra new line * feat: add test for slqx::test macro * feat: update test for sqlx::test macro * remove old macro test * feat: add postgres and sqlite test * rust format * cargo fmt * fix fixtures execution order in test
Does your PR solve an issue?
This fixes a regression in the
sqlx::test
macro in version 0.8.Fixes: #3395