Commit 4e15adac authored by Taylor Gerring's avatar Taylor Gerring

Remove fmt dependency

parent b100546c
...@@ -2,7 +2,6 @@ package ethutil ...@@ -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) { ...@@ -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)
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment