use testdata dir

This commit is contained in:
Shawn Smith
2021-06-04 17:55:33 +09:00
parent b0ce7a7c08
commit 6c01b8d8b8
4 changed files with 16 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ import (
)
func TestRun(t *testing.T) {
cr, err := Run("testrepo")
cr, err := Run("testdata/testrepo")
if err != nil {
t.Fatal(err)
}