summaryrefslogtreecommitdiffstats
path: root/api/file_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/file_test.go')
-rw-r--r--api/file_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/file_test.go b/api/file_test.go
index 40534d724..59adc8a71 100644
--- a/api/file_test.go
+++ b/api/file_test.go
@@ -805,7 +805,7 @@ func TestGetInfoForFilename(t *testing.T) {
}
func readTestFile(name string) ([]byte, error) {
- path := utils.FindDir("tests")
+ path, _ := utils.FindDir("tests")
file, err := os.Open(path + "/" + name)
if err != nil {
return nil, err