mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-26 02:44:33 +02:00
Show output on error
This commit is contained in:
parent
d5dab71d24
commit
96bc06db03
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ def test_insert_files_bad_text_encoding_error():
|
|||
["insert-files", db_path, "files", str(latin), "--text"],
|
||||
catch_exceptions=False,
|
||||
)
|
||||
assert result.exit_code == 1
|
||||
assert result.exit_code == 1, result.output
|
||||
assert result.output.strip().startswith(
|
||||
"Error: Could not read file '{}' as text".format(str(latin.resolve()))
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue