mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 17:34:32 +02:00
Correct spelling mistakes (found with codespell) (#410)
This commit is contained in:
parent
7a098aa0c5
commit
b6c9dfce0b
2 changed files with 4 additions and 4 deletions
|
|
@ -1218,7 +1218,7 @@ def test_drop_table_error():
|
|||
)
|
||||
assert 1 == result.exit_code
|
||||
assert 'Error: Table "t2" does not exist' == result.output.strip()
|
||||
# Using --ignore supresses that error
|
||||
# Using --ignore suppresses that error
|
||||
result = runner.invoke(
|
||||
cli.cli,
|
||||
["drop-table", "test.db", "t2", "--ignore"],
|
||||
|
|
@ -1259,7 +1259,7 @@ def test_drop_view_error():
|
|||
)
|
||||
assert 1 == result.exit_code
|
||||
assert 'Error: View "t2" does not exist' == result.output.strip()
|
||||
# Using --ignore supresses that error
|
||||
# Using --ignore suppresses that error
|
||||
result = runner.invoke(
|
||||
cli.cli,
|
||||
["drop-view", "test.db", "t2", "--ignore"],
|
||||
|
|
@ -2014,7 +2014,7 @@ def test_insert_detect_types(tmpdir, option_or_env_var):
|
|||
]
|
||||
|
||||
if option_or_env_var is None:
|
||||
# Use environemnt variable instead of option
|
||||
# Use environment variable instead of option
|
||||
with mock.patch.dict(os.environ, {"SQLITE_UTILS_DETECT_TYPES": "1"}):
|
||||
_test()
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -269,7 +269,7 @@ def test_rebuild_fts(fresh_db):
|
|||
}.items() <= rows[0].items()
|
||||
# Insert another record
|
||||
table.insert(search_records[1])
|
||||
# This should NOT show up in a searchs
|
||||
# This should NOT show up in searches
|
||||
assert len(list(table.search("are"))) == 1
|
||||
# Running rebuild_fts() should fix it
|
||||
table.rebuild_fts()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue