Indexes using slices instead of pointers of slice

This commit is contained in:
Deluan
2016-03-20 13:08:24 -04:00
parent 27b7b7ce08
commit 3f0030738a
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ func TestIndexRepository(t *testing.T) {
So(indices, ShouldHaveLength, 4)
})
Convey("And the values should be retrieved", func() {
for _, e := range *indices {
for _, e := range indices {
So(e.Id, ShouldBeIn, []string{"1", "2", "3", "4"})
}
})