summaryrefslogtreecommitdiffhomepage
path: root/utils
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2014-12-10 01:32:58 +0900
committerHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2014-12-10 01:33:51 +0900
commitd2c94301eb700f82c0a0b5a9a4ac64c2b302f626 (patch)
tree52cc6226b2e313d5329d2acde32aa98791ff781d /utils
parentd9671b5b380361a80c2de4d2d82f2a24721bad01 (diff)
[utils]: fix build error in collection_test.go
Diffstat (limited to 'utils')
-rw-r--r--utils/collection_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/collection_test.go b/utils/collection_test.go
index 692c46f1..f42a5eba 100644
--- a/utils/collection_test.go
+++ b/utils/collection_test.go
@@ -33,7 +33,7 @@ func getData(t *testing.T, oMap *OrderedMap, iNum int, deleteNum int) string {
arg := "test"
key := i
value := fmt.Sprintf("%s%d", arg, key)
- ans := oMap.Get(i).Element
+ ans := oMap.Get(i)
result = "OK"
//fmt.Println(ans)
if ans != value {
@@ -57,7 +57,7 @@ func deleteData(t *testing.T, oMap *OrderedMap, iNum int, deleteNum int) string
func popData(t *testing.T, oMap *OrderedMap, iNum int, popNum int) string {
arg := "test"
value := fmt.Sprintf("%s%d", arg, popNum)
- getValue := oMap.Pop(popNum).Element
+ getValue := oMap.Pop(popNum)
result := "OK"
fmt.Println(getValue)
if value != getValue {