mirror of
https://codeberg.org/scip/anydb.git
synced 2025-12-17 04:20:59 +01:00
fixed read error and updated tests
This commit is contained in:
@@ -9,7 +9,7 @@ exec anydb -f test.db list
|
||||
stdout foo.*bar
|
||||
|
||||
# wide list
|
||||
exec anydb -f test.db list -o wide
|
||||
exec anydb -f test.db list -m wide
|
||||
stdout 'plant.*now.*grey'
|
||||
|
||||
# list tagged
|
||||
@@ -42,6 +42,13 @@ stdout grey
|
||||
exec anydb -f test.db list -t flower
|
||||
! stdout grey
|
||||
|
||||
# check json output
|
||||
exec anydb -f test.db list -m json
|
||||
stdout '^\[\{'
|
||||
|
||||
exec anydb -f test.db get color -m json
|
||||
stdout '^\{'
|
||||
|
||||
# delete entry
|
||||
exec anydb -f test.db del foo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user