task segments.test as the common data

This commit is contained in:
Lion 2022-12-05 21:04:33 +08:00
parent 1b48cb7c18
commit 75ea003f15
2 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ func TestSplitSegment(t *testing.T) {
} }
func TestIterateSegments(t *testing.T) { func TestIterateSegments(t *testing.T) {
handle, err := os.OpenFile("../segments.tests", os.O_RDONLY, 0600) handle, err := os.OpenFile("../../../data/segments.tests", os.O_RDONLY, 0600)
if err != nil { if err != nil {
t.Fatalf("failed to open tests file: %s", err) t.Fatalf("failed to open tests file: %s", err)
} }