mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-06 22:40:31 -05:00
Fix markdown tests that I broke
This commit is contained in:
parent
e1153f8797
commit
f7129b219e
1 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ func TestMarkdown(t *testing.T) {
|
|||
Title: "first",
|
||||
Summary: "",
|
||||
Date: time.Now(),
|
||||
Url: "/og/first.md",
|
||||
URL: "/og/first.md",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -191,8 +191,8 @@ func getTrue() bool {
|
|||
|
||||
for i, c := range md.Configs {
|
||||
log.Printf("Test number: %d, configuration links: %v, config: %v", i, c.Links, c)
|
||||
if c.Links[0].Url != expectedLinks[i] {
|
||||
t.Fatalf("Expected %v got %v", expectedLinks[i], c.Links[0].Url)
|
||||
if c.Links[0].URL != expectedLinks[i] {
|
||||
t.Fatalf("Expected %v got %v", expectedLinks[i], c.Links[0].URL)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue