From 44461f49fd2db83f7108080c1441a1b9c2b03d8a Mon Sep 17 00:00:00 2001 From: Clint Shryock Date: Thu, 7 May 2015 17:18:47 -0500 Subject: [PATCH] update structure test --- builtin/providers/aws/structure_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/builtin/providers/aws/structure_test.go b/builtin/providers/aws/structure_test.go index 2f45d643c9..ace216e6b2 100644 --- a/builtin/providers/aws/structure_test.go +++ b/builtin/providers/aws/structure_test.go @@ -121,9 +121,7 @@ func TestexpandIPPerms(t *testing.T) { } func TestExpandIPPerms_NegOneProtocol(t *testing.T) { - hash := func(v interface{}) int { - return hashcode.String(v.(string)) - } + hash := schema.HashString expanded := []interface{}{ map[string]interface{}{