From 4e15adac6d46acb5b8173050618a1ffac525e528 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Wed, 5 Nov 2014 21:59:22 +0100 Subject: [PATCH] Remove fmt dependency --- ethutil/value_test.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ethutil/value_test.go b/ethutil/value_test.go index 5452a0790c..54c8d9fd6c 100644 --- a/ethutil/value_test.go +++ b/ethutil/value_test.go @@ -2,7 +2,6 @@ package ethutil import ( "bytes" - "fmt" "math/big" "testing" ) @@ -81,6 +80,10 @@ func TestMath(t *testing.T) { } func TestString(t *testing.T) { - a := NewValue("10") - fmt.Println("VALUE WITH STRING:", a.Int()) + data := "10" + exp := int64(10) + res := NewValue(data).Int() + if res != exp { + t.Errorf("Exprected %d Got res", exp, res) + } }