update function convert html
This commit is contained in:
@@ -94,7 +94,7 @@ func TestConvertHtml(t *testing.T) {
|
||||
}
|
||||
defer c.Close()
|
||||
|
||||
err = c.ConvertHtml(html, outputPath)
|
||||
err = c.ConvertHtmls(models.Html{Html: html, Output: outputPath})
|
||||
if err != nil {
|
||||
t.Fatalf("ConvertHtml failed: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user