mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-11 02:54:23 +02:00
parent
02f5c4d69d
commit
fca3ef8cf2
3 changed files with 12 additions and 5 deletions
|
|
@ -153,6 +153,6 @@ def test_convert_repeated(fresh_db):
|
|||
table = fresh_db["table"]
|
||||
col = "num"
|
||||
table.insert({col: 1})
|
||||
table.convert(col, lambda x: x*2)
|
||||
table.convert(col, lambda x: x * 2)
|
||||
table.convert(col, lambda _x: 0)
|
||||
assert table.get(1) == {col: 0}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue