Indexes using slices instead of pointers of slice
This commit is contained in:
@@ -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"})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user