Skip to content

Commit

Permalink
Update test to use newer andrew-publish-time meta tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynforthewyn committed Jun 29, 2024
1 parent 5939aee commit 6e1af7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion andrew_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ func TestArticlesOrderInAndrewTableOfContentsIsOverridable(t *testing.T) {
newest := now.Add(24 * time.Hour)
formattedDate := newest.Format("2006-01-02")

content := fmt.Sprintf(`<meta name="andrew-published-at" content="%s">`, formattedDate)
content := fmt.Sprintf(`<meta name="andrew-publish-time" content="%s">`, formattedDate)

err = os.WriteFile(contentRoot+"/b_newest.html", []byte(content), 0o700)
if err != nil {
Expand Down

0 comments on commit 6e1af7e

Please sign in to comment.