Commit f7129b21 authored by Matthew Holt's avatar Matthew Holt

Fix markdown tests that I broke

parent e1153f87
...@@ -55,7 +55,7 @@ func TestMarkdown(t *testing.T) { ...@@ -55,7 +55,7 @@ func TestMarkdown(t *testing.T) {
Title: "first", Title: "first",
Summary: "", Summary: "",
Date: time.Now(), Date: time.Now(),
Url: "/og/first.md", URL: "/og/first.md",
}, },
}, },
}, },
...@@ -191,8 +191,8 @@ func getTrue() bool { ...@@ -191,8 +191,8 @@ func getTrue() bool {
for i, c := range md.Configs { for i, c := range md.Configs {
log.Printf("Test number: %d, configuration links: %v, config: %v", i, c.Links, c) log.Printf("Test number: %d, configuration links: %v, config: %v", i, c.Links, c)
if c.Links[0].Url != expectedLinks[i] { if c.Links[0].URL != expectedLinks[i] {
t.Fatalf("Expected %v got %v", expectedLinks[i], c.Links[0].Url) t.Fatalf("Expected %v got %v", expectedLinks[i], c.Links[0].URL)
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment