Neater indentation for SQL used in schemas, closes #148

This commit is contained in:
Simon Willison 2020-09-07 11:12:45 -07:00
commit 59e3d4d171
2 changed files with 12 additions and 11 deletions

View file

@ -373,10 +373,10 @@ def test_enable_fts(db_path):
# Check tokenize was set to porter
assert (
"CREATE VIRTUAL TABLE [http://example.com_fts] USING FTS4 (\n"
" [c1],\n"
" tokenize='porter',\n"
" content=[http://example.com]"
"\n )"
" [c1],\n"
" tokenize='porter',\n"
" content=[http://example.com]"
"\n)"
) == db["http://example.com_fts"].schema
db["http://example.com"].drop()