mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 01:14:31 +02:00
sqlite-utils rows -c, closes #200
This commit is contained in:
parent
309ae84336
commit
6863dc2677
3 changed files with 16 additions and 1 deletions
|
|
@ -1039,6 +1039,10 @@ def test_query_memory_does_not_create_file(tmpdir):
|
|||
),
|
||||
(["--arrays"], '[[1, "Cleo", 4],\n [2, "Pancakes", 2]]'),
|
||||
(["--arrays", "--nl"], '[1, "Cleo", 4]\n[2, "Pancakes", 2]'),
|
||||
(
|
||||
["--nl", "-c", "age", "-c", "name"],
|
||||
'{"age": 4, "name": "Cleo"}\n{"age": 2, "name": "Pancakes"}',
|
||||
),
|
||||
],
|
||||
)
|
||||
def test_rows(db_path, args, expected):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue