cli/test: clean input buffer after execution
This commit is contained in:
parent
66402923b9
commit
f4cbb1ae74
2 changed files with 4 additions and 2 deletions
|
@ -36,8 +36,8 @@ func TestSignMultisigTx(t *testing.T) {
|
|||
defer os.Remove(wallet2Path)
|
||||
|
||||
addAccount := func(w string, wif string) {
|
||||
e.In.WriteString("acc\rpass\rpass\r")
|
||||
e.Run(t, "neo-go", "wallet", "init", "--wallet", w)
|
||||
e.In.WriteString("acc\rpass\rpass\r")
|
||||
e.Run(t, "neo-go", "wallet", "import-multisig",
|
||||
"--wallet", w,
|
||||
"--wif", wif,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue