add opts config for engine and reorganized files
This commit is contained in:
+2
-2
@@ -33,9 +33,9 @@ func Test_HTMLRender(t *testing.T) {
|
||||
|
||||
tests := []struct {
|
||||
name string
|
||||
arg OptionFunc
|
||||
arg RenderOptions
|
||||
}{
|
||||
{"Empty OptionFunc", OptionFunc(func(r *Render) {})},
|
||||
{"Empty OptionFunc", RenderOptions(func(r *Render) {})},
|
||||
{"Nil", nil},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user