diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/status.testscript | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/status.testscript b/tests/status.testscript index bf4339b..2977e4f 100644 --- a/tests/status.testscript +++ b/tests/status.testscript @@ -30,6 +30,23 @@ deinit += -d prj $* >'prj configured 0.1.0-a.0.19700101000000'; + $* --stdout-format 'json' >>/~"%EOO%"; + [ + { + "configuration": { + "id": 1, + "path": "$~/prj-cfg", + "name": "cfg" + }, + "packages": [ + { + %.+ + } + ] + } + ] + EOO + $deinit 2>>/"EOE" deinitializing in project $~/prj/ synchronizing: @@ -55,6 +72,35 @@ deinit += -d prj prj configured 0.1.0-a.0.19700101000000 EOO + $* --all --stdout-format 'json' >>/~"%EOO%"; + [ + { + "configuration": { + "id": 1, + "path": "$~/prj-cfg1", + "name": "cfg1" + }, + "packages": [ + { + %.+ + } + ] + }, + { + "configuration": { + "id": 2, + "path": "$~/prj-cfg2", + "name": "cfg2" + }, + "packages": [ + { + %.+ + } + ] + } + ] + EOO + $deinit 2>>/"EOE" deinitializing in project $~/prj/ synchronizing: |