We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec6b432 commit 1033c1bCopy full SHA for 1033c1b
cmd/model/test.go
@@ -19,7 +19,6 @@ package model
19
import (
20
"fmt"
21
"os"
22
- "path"
23
"path/filepath"
24
"strings"
25
@@ -77,7 +76,7 @@ var modelTestCmd = &cobra.Command{
77
76
summaries := []string{}
78
79
for _, file := range fileNames {
80
- format, storeData, err := storetest.ReadFromFile(file, path.Dir(file))
+ format, storeData, err := storetest.ReadFromFile(file, "")
81
if err != nil {
82
return fmt.Errorf("failed to read test file %s: %w", file, err)
83
}
0 commit comments