mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-08-01 06:54:22 +02:00
Neater indentation for SQL used in schemas, closes #148
This commit is contained in:
parent
0e62744da9
commit
59e3d4d171
2 changed files with 12 additions and 11 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue