refactoring

This commit is contained in:
Chris Lu 2020-07-11 06:35:54 -07:00
parent 2d1df97933
commit f2e8ad6241
2 changed files with 1 additions and 1 deletions

View file

@ -32,7 +32,7 @@ func TestMemoryUsage(t *testing.T) {
startTime := time.Now() startTime := time.Now()
for i := 0; i < 10; i++ { for i := 0; i < 10; i++ {
indexFile, ie := os.OpenFile("../../../test/sample.idx", os.O_RDWR|os.O_RDONLY, 0644) indexFile, ie := os.OpenFile("../../../test/data/sample.idx", os.O_RDWR|os.O_RDONLY, 0644)
if ie != nil { if ie != nil {
log.Fatalln(ie) log.Fatalln(ie)
} }