@@ -16,7 +16,7 @@ func testRun(opt options) (string, error) {
1616
1717func TestPass (t * testing.T ) {
1818 opt := options {
19- directory : "../test/data/pass" ,
19+ directory : "../../ test/data/pass" ,
2020 format : "" ,
2121 }
2222
@@ -34,7 +34,7 @@ func TestPass(t *testing.T) {
3434
3535func TestNoOwners (t * testing.T ) {
3636 opt := options {
37- directory : "../test/data/no_owners" ,
37+ directory : "../../ test/data/no_owners" ,
3838 format : "" ,
3939 }
4040
@@ -52,7 +52,7 @@ func TestNoOwners(t *testing.T) {
5252
5353func TestCustomFormat (t * testing.T ) {
5454 opt := options {
55- directory : "../test/data/noowners" ,
55+ directory : "../../ test/data/noowners" ,
5656 format : "test" ,
5757 }
5858
@@ -69,7 +69,7 @@ func TestCustomFormat(t *testing.T) {
6969
7070func TestInvalidFormat (t * testing.T ) {
7171 opt := options {
72- directory : "../test/data/noowners" ,
72+ directory : "../../ test/data/noowners" ,
7373 format : " {{template \" one\" }} " ,
7474 }
7575
@@ -79,7 +79,7 @@ func TestInvalidFormat(t *testing.T) {
7979 }
8080
8181 opt = options {
82- directory : "../test/data/noowners" ,
82+ directory : "../../ test/data/noowners" ,
8383 format : " {{ . " ,
8484 }
8585
0 commit comments