mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-23 19:10:03 +08:00
Changed metadata variables type:
from map[string]interface{} to map[string]string
This commit is contained in:
@ -98,7 +98,7 @@ func TestParsers(t *testing.T) {
|
||||
expected := Metadata{
|
||||
Title: "A title",
|
||||
Template: "default",
|
||||
Variables: map[string]interface{}{"name": "value"},
|
||||
Variables: map[string]string{"name": "value"},
|
||||
}
|
||||
compare := func(m Metadata) bool {
|
||||
if m.Title != expected.Title {
|
||||
|
Reference in New Issue
Block a user