mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
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,
|
||||
"loaddeployed "+cH.StringLE()+" -- NbrUYaZgyhSkNoRo9ugRyEMdUZxrhkNaWB:Global", // the contract's owner got from the contract's code.
|
||||
"run destroy",
|
||||
"exit",
|
||||
)
|
||||
e.checkNextLine(t, "READY: loaded \\d* instructions")
|
||||
e.checkStack(t) // Nothing on stack, successful execution.
|
||||
|
|
Loading…
Reference in a new issue