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

Assert sql_type disregarding case sensitiveness for sqlite3 tests #44135

Merged
merged 1 commit into from Jan 11, 2022

Conversation

marcelolx
Copy link
Contributor

@marcelolx marcelolx commented Jan 10, 2022

As mentioned here #43295 since sqlite3 3.37 sqlite3 returns the type of the columns in capital letters while in versions before it did return in lowercase, matching disregarging case sensitiveness will avoid the tests fail in more recent versions of sqlite3 since what matters is the name of the type and not if it is uppercase or lowercase.

Co-Authored-By: Name pixeltrix@users.noreply.github.com

As mentioned here rails#43295 since sqlite3 3.37 sqlite3 returns the type of the columns in capital letters while in versions before it did return in lowercase, matching disregarging case sensitiveness will avoid the tests fail in more recent versions of sqlite3 since what matters is the name of the type and not if it is uppercase or lowercase.

Co-Authored-By: Name <pixeltrix@users.noreply.github.com>
@pixeltrix pixeltrix merged commit 85542a0 into rails:main Jan 11, 2022
@pixeltrix
Copy link
Contributor

@marcelolx thanks for the rapid response 👍🏻

@marcelolx marcelolx deleted the fix-changes-pr-43295 branch January 11, 2022 16:42
pixeltrix added a commit that referenced this pull request Jan 11, 2022
Assert sql_type disregarding case sensitiveness for sqlite3 tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants