forked from TrueCloudLab/neoneo-go
cli: fix exit in vm test
Add exit function at the end of the test to prevent errors in t.Cleanup of the t.TempDir for levelDB instance. Close #3154 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
This commit is contained in:
parent
00a1a8da56
commit
b6a65e4d80
1 changed files with 1 additions and 0 deletions
|
@ -681,6 +681,7 @@ func TestLoad_RunWithCALLT(t *testing.T) {
|
||||||
e.runProg(t,
|
e.runProg(t,
|
||||||
"loaddeployed "+cH.StringLE()+" -- NbrUYaZgyhSkNoRo9ugRyEMdUZxrhkNaWB:Global", // the contract's owner got from the contract's code.
|
"loaddeployed "+cH.StringLE()+" -- NbrUYaZgyhSkNoRo9ugRyEMdUZxrhkNaWB:Global", // the contract's owner got from the contract's code.
|
||||||
"run destroy",
|
"run destroy",
|
||||||
|
"exit",
|
||||||
)
|
)
|
||||||
e.checkNextLine(t, "READY: loaded \\d* instructions")
|
e.checkNextLine(t, "READY: loaded \\d* instructions")
|
||||||
e.checkStack(t) // Nothing on stack, successful execution.
|
e.checkStack(t) // Nothing on stack, successful execution.
|
||||||
|
|
Loading…
Reference in a new issue