mirror of
https://github.com/avelino/awesome-go.git
synced 2024-11-13 11:14:37 -05:00
create out dir in tests
This commit is contained in:
parent
7713914b96
commit
e3363794a1
1 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue