Skip to content

Commit

Permalink
create out dir in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kazhuravlev authored and avelino committed Apr 3, 2023
1 parent 18e1d53 commit 3c737a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ func TestSeparator(t *testing.T) {
}

func TestRenderIndex(t *testing.T) {
requireNoErr(t, mkdirAll(outDir), "output dir should exists")

err := renderIndex(readmePath, outIndexFile)
requireNoErr(t, err, "html should be rendered")
}
Expand Down

0 comments on commit 3c737a7

Please sign in to comment.