Skip to content

Commit

Permalink
markup/goldmark: Update TOC test
Browse files Browse the repository at this point in the history
- Change copyright date
- Change name of site configuration file
- Reference issue numbers in failing tests
  • Loading branch information
jmooring authored and bep committed Feb 10, 2024
1 parent caba6ba commit 6f59d96
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions markup/goldmark/toc_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 The Hugo Authors. All rights reserved.
// Copyright 2024 The Hugo Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -23,7 +23,7 @@ func TestTableOfContents(t *testing.T) {
t.Parallel()

files := `
-- config.toml --
-- hugo.toml --
disableKinds = ['home','rss','section','sitemap','taxonomy','term']
enableEmoji = false
Expand Down Expand Up @@ -147,7 +147,7 @@ func TestTableOfContentsAdvanced(t *testing.T) {
t.Parallel()

files := `
-- config.toml --
-- hugo.toml --
disableKinds = ['home','rss','section','sitemap','taxonomy','term']
enableEmoji = true
Expand Down Expand Up @@ -253,13 +253,13 @@ title: p7 (emoji)
`)

// strikethrough
// TODO failing test
// TODO failing test: Issue #8087
// b.AssertFileContent("public/p6/index.html", `
// <li><a href="#ome-deleted-text">Some <del>deleted</del> text</a></li>
// `)

// emoji
// TODO failing test
// TODO failing test: Issue #12022
// b.AssertFileContent("public/p7/index.html", `
// <li><a href="#a-snake-emoji">A &#x1f40d; emoji</a></li>
// `)
Expand Down

0 comments on commit 6f59d96

Please sign in to comment.