Skip to content

Commit e336379

Browse files
kazhuravlevavelino
authored andcommittedApr 3, 2023
create out dir in tests
1 parent 7713914 commit e336379

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎main_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ func TestSeparator(t *testing.T) {
101101
}
102102

103103
func TestRenderIndex(t *testing.T) {
104+
requireNoErr(t, mkdirAll(outDir), "output dir should exists")
105+
104106
err := renderIndex(readmePath, outIndexFile)
105107
requireNoErr(t, err, "html should be rendered")
106108
}

0 commit comments

Comments
 (0)
Please sign in to comment.