integrate context to struct and fix paths
This commit is contained in:
+7
-7
@@ -98,13 +98,13 @@ func Test_findHTMLFiles(t *testing.T) {
|
||||
}
|
||||
|
||||
expected := []string{
|
||||
"templates\\layout.base.gohtml",
|
||||
"templates\\layout.another.gohtml",
|
||||
"templates\\fragment.button.gohtml",
|
||||
"templates\\component.list.gohtml",
|
||||
"templates\\page.index.gohtml",
|
||||
"templates\\page.tindex.gohtml",
|
||||
"templates\\page.another.gohtml",
|
||||
"templates/layout.base.gohtml",
|
||||
"templates/layout.another.gohtml",
|
||||
"templates/fragment.button.gohtml",
|
||||
"templates/component.list.gohtml",
|
||||
"templates/page.index.gohtml",
|
||||
"templates/page.tindex.gohtml",
|
||||
"templates/page.another.gohtml",
|
||||
}
|
||||
actual, err := render.findHTMLFiles()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user