diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-09-21 17:34:02 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-09-21 17:34:02 +0800 |
commit | 5621308949cc5573297bd70826421db00c1fd4ba (patch) | |
tree | 33e16f37699549d4e75397f6474dc2f0275a79a6 /tests/state_test_util.go | |
parent | e40b447fead5ec3c4ccb133418431ea25be3c545 (diff) | |
download | go-tangerine-5621308949cc5573297bd70826421db00c1fd4ba.tar go-tangerine-5621308949cc5573297bd70826421db00c1fd4ba.tar.gz go-tangerine-5621308949cc5573297bd70826421db00c1fd4ba.tar.bz2 go-tangerine-5621308949cc5573297bd70826421db00c1fd4ba.tar.lz go-tangerine-5621308949cc5573297bd70826421db00c1fd4ba.tar.xz go-tangerine-5621308949cc5573297bd70826421db00c1fd4ba.tar.zst go-tangerine-5621308949cc5573297bd70826421db00c1fd4ba.zip |
tests: add test for StateTests/stCallCodes.json
Diffstat (limited to 'tests/state_test_util.go')
-rw-r--r-- | tests/state_test_util.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/state_test_util.go b/tests/state_test_util.go index 086822461..95ecdd0a8 100644 --- a/tests/state_test_util.go +++ b/tests/state_test_util.go @@ -128,6 +128,7 @@ func runStateTests(tests map[string]VmTest, skipTests []string) error { return nil } + //fmt.Println("StateTest name:", name) if err := runStateTest(test); err != nil { return fmt.Errorf("%s: %s\n", name, err.Error()) } @@ -172,7 +173,7 @@ func runStateTest(test VmTest) error { ret, logs, _, _ = RunState(statedb, env, test.Transaction) - // // Compare expected and actual return + // Compare expected and actual return rexp := common.FromHex(test.Out) if bytes.Compare(rexp, ret) != 0 { return fmt.Errorf("return failed. Expected %x, got %x\n", rexp, ret) |