tests/vm: fix syntax

This commit is contained in:
Felix Lange 2014-10-17 17:39:31 +02:00
parent fc308b842e
commit df238dc7ec

View File

@ -4,7 +4,6 @@ import (
"bytes" "bytes"
"testing" "testing"
"github.com/ethereum/eth-go/ethlog"
"github.com/ethereum/eth-go/ethstate" "github.com/ethereum/eth-go/ethstate"
"github.com/ethereum/eth-go/ethutil" "github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/eth-go/tests/helper" "github.com/ethereum/eth-go/tests/helper"
@ -88,10 +87,6 @@ func RunVmTest(url string, t *testing.T) {
} }
// I've created a new function for each tests so it's easier to identify where the problem lies if any of them fail. // I've created a new function for each tests so it's easier to identify where the problem lies if any of them fail.
func TestVMSha3(t *testing.T) {
helper.Logger.SetLogLevel(ethlog.Silence)
defer helper.Logger.SetLogLevel(ethlog.DebugLevel)
func TestVMArithmetic(t *testing.T) { func TestVMArithmetic(t *testing.T) {
const url = "https://raw.githubusercontent.com/ethereum/tests/develop/vmtests/vmArithmeticTest.json" const url = "https://raw.githubusercontent.com/ethereum/tests/develop/vmtests/vmArithmeticTest.json"
RunVmTest(url, t) RunVmTest(url, t)