From be60e284127a733337900c345524fe77ec9e67af Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Tue, 16 Jul 2019 00:30:54 +0200 Subject: [PATCH] Uncomment rest of test code License: MIT Signed-off-by: Jakub Sztandera --- chain/actors/harness_test.go | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/chain/actors/harness_test.go b/chain/actors/harness_test.go index 3452ddc87..0b3584cbb 100644 --- a/chain/actors/harness_test.go +++ b/chain/actors/harness_test.go @@ -140,14 +140,11 @@ func TestVMInvokeHarness(t *testing.T) { } state := h.Execute() - _ = state - /* - act, err := state.GetActor(outaddr) - if err != nil { - t.Fatal(err) - } - if act.Code != StorageMinerCodeCid { - t.Fatalf("Expected correct code, got %s, instead of %s", act.Code, StorageMinerCodeCid) - } - */ + act, err := state.GetActor(outaddr) + if err != nil { + t.Fatal(err) + } + if act.Code != StorageMinerCodeCid { + t.Fatalf("Expected correct code, got %s, instead of %s", act.Code, StorageMinerCodeCid) + } }