From b6a65e4d80df60e128a9dd42bc442a6238fd9133 Mon Sep 17 00:00:00 2001 From: Ekaterina Pavlova Date: Wed, 21 Feb 2024 13:22:38 +0300 Subject: [PATCH] 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 --- cli/vm/cli_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/vm/cli_test.go b/cli/vm/cli_test.go index 1f96a17aa..569513918 100644 --- a/cli/vm/cli_test.go +++ b/cli/vm/cli_test.go @@ -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.