Skip to content

Commit ea28c1a

Browse files
committed
driver name test: case insensitive
1 parent 57df790 commit ea28c1a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: |
5555
brew install sqliteodbc ${{ matrix.features == '' && 'unixodbc' || matrix.features == 'iodbc' && 'libiodbc' || '' }}
5656
cat > /tmp/sqlite3_driver.ini << 'EOF'
57-
[SQLITE3]
57+
[SQLite3]
5858
Description=SQLite ODBC Driver
5959
Driver=/opt/homebrew/lib/libsqlite3odbc.dylib
6060
Setup=/opt/homebrew/lib/libsqlite3odbc.dylib

tests/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ fn list_drivers_and_check_sqlite3() {
228228
let drivers_str = String::from_utf8_lossy(&drivers);
229229

230230
assert!(
231-
drivers_str.contains("SQLITE3"),
232-
"SQLITE3 driver not found. Installed drivers: {}",
231+
drivers_str.to_lowercase().contains("sqlite3"),
232+
"SQLite3 driver not found. Installed drivers: {}",
233233
drivers_str
234234
);
235235

0 commit comments

Comments
 (0)