bugfix: correctly detect json1 in versions.json (#2327)

Fixes #2326
This commit is contained in:
Seb Bacon 2024-08-15 21:20:26 +01:00 committed by GitHub
commit 9cb5700d60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -835,6 +835,10 @@ async def test_versions_json(ds_client):
assert "version" in data["sqlite"]
assert "fts_versions" in data["sqlite"]
assert "compile_options" in data["sqlite"]
# By default, the json1 extension is enabled in the SQLite
# provided by the `ubuntu-latest` github actions runner, and
# all versions of SQLite from 3.38.0 onwards
assert data["sqlite"]["extensions"]["json1"]
@pytest.mark.asyncio