Remove fmt dependency

This commit is contained in:
Taylor Gerring 2014-11-05 21:59:22 +01:00
parent b100546c9d
commit 4e15adac6d

View File

@ -2,7 +2,6 @@ package ethutil
import ( import (
"bytes" "bytes"
"fmt"
"math/big" "math/big"
"testing" "testing"
) )
@ -81,6 +80,10 @@ func TestMath(t *testing.T) {
} }
func TestString(t *testing.T) { func TestString(t *testing.T) {
a := NewValue("10") data := "10"
fmt.Println("VALUE WITH STRING:", a.Int()) exp := int64(10)
res := NewValue(data).Int()
if res != exp {
t.Errorf("Exprected %d Got res", exp, res)
}
} }