adding concurrent testing

This commit is contained in:
Julien Neuhart
2018-12-13 14:46:59 +01:00
parent ba7b02d8d4
commit 2cedcecc38
5 changed files with 34 additions and 1 deletions

View File

@@ -37,3 +37,11 @@ func TestHTML(t *testing.T) {
err = os.RemoveAll(dirPath)
assert.Nil(t, err)
}
func TestConcurrentHTML(t *testing.T) {
for i := 0; i < 10; i++ {
go func() {
TestHTML(t)
}()
}
}