From 0bc77cf488a82efdfeae80552818472748d69cda Mon Sep 17 00:00:00 2001 From: "Diogo Franco (Kovensky)" Date: Mon, 15 Jul 2013 00:21:54 -0300 Subject: [PATCH] anidb: Fix cache_test.go compilation --- cache_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cache_test.go b/cache_test.go index 41c49b3..fe37555 100644 --- a/cache_test.go +++ b/cache_test.go @@ -10,14 +10,14 @@ import ( type stringifyVec struct { result []string - data []interface{} + data []cacheKey } func TestStringify(T *testing.T) { T.Parallel() vec := []stringifyVec{ - stringifyVec{[]string{"a"}, []interface{}{"a"}}, + stringifyVec{[]string{"a"}, []cacheKey{"a"}}, } for i, v := range vec { str := stringify(v.data...) @@ -29,7 +29,7 @@ func TestStringify(T *testing.T) { type cachePathVec struct { path string - data []interface{} + data []cacheKey } var testDir = path.Join(os.TempDir(), "testing", "anidb") @@ -40,8 +40,8 @@ func TestCachePath(T *testing.T) { T.Parallel() vec := []cachePathVec{ - cachePathVec{path.Join(testDir, "a"), []interface{}{"a"}}, - cachePathVec{path.Join(testDir, "b", "c", "d"), []interface{}{"b", "c", "d"}}, + cachePathVec{path.Join(testDir, "a"), []cacheKey{"a"}}, + cachePathVec{path.Join(testDir, "b", "c", "d"), []cacheKey{"b", "c", "d"}}, } for i, v := range vec { str := cachePath(v.data...) -- 2.44.0