Browse Source

Update CLI test string args

pull/1780/head
Matt Bell 8 years ago
parent
commit
4bb65366f4
2 changed files with 10 additions and 10 deletions
  1. +4
    -4
      tests/test_cli/ex1.tmsp
  2. +6
    -6
      tests/test_cli/ex1.tmsp.out

+ 4
- 4
tests/test_cli/ex1.tmsp View File

@ -1,10 +1,10 @@
echo hello
info
commit
append_tx abc
append_tx "abc"
info
commit
query abc
append_tx def=xyz
query "abc"
append_tx "def=xyz"
commit
query def
query "def"

+ 6
- 6
tests/test_cli/ex1.tmsp.out View File

@ -7,7 +7,7 @@
> commit
-> data: 0x
> append_tx abc
> append_tx "abc"
-> code: OK
> info
@ -16,17 +16,17 @@
> commit
-> data: 0x750502FC7E84BBD788ED589624F06CFA871845D1
> query abc
> query "abc"
-> code: OK
-> data: {"index":0,"value":"abc","exists":true}
-> data: {"index":0,"value":"abc","valueHex":"616263","exists":true}
> append_tx def=xyz
> append_tx "def=xyz"
-> code: OK
> commit
-> data: 0x76393B8A182E450286B0694C629ECB51B286EFD5
> query def
> query "def"
-> code: OK
-> data: {"index":1,"value":"xyz","exists":true}
-> data: {"index":1,"value":"xyz","valueHex":"78797a","exists":true}

Loading…
Cancel
Save