Updated testing tools

This commit is contained in:
obscuren
2014-12-04 11:30:41 +01:00
parent 491edc16e7
commit 3664cd58e3
2 changed files with 69 additions and 23 deletions

View File

@ -82,7 +82,7 @@ func RunVmTest(js string) (failed int) {
state.SetStateObject(obj)
}
ret, gas, err := helper.RunVm(state, test.Env, test.Exec)
ret, _, gas, err := helper.RunVm(state, test.Env, test.Exec)
// When an error is returned it doesn't always mean the tests fails.
// Have to come up with some conditional failing mechanism.
if err != nil {