aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2024-02-10 09:07:06 -0800
committerBjørn Erik Pedersen <[email protected]>2024-02-10 20:16:59 +0200
commit6f59d96bba4140af66ad7a7cdbb393cee594894f (patch)
tree0d3c812c59b641bb7dd119c5075c4a78b45f438c
parentcaba6ba6e78dfd124a60cee321de441f8b21ae11 (diff)
downloadhugo-6f59d96bba4140af66ad7a7cdbb393cee594894f.tar.gz
hugo-6f59d96bba4140af66ad7a7cdbb393cee594894f.zip
markup/goldmark: Update TOC test
- Change copyright date - Change name of site configuration file - Reference issue numbers in failing tests
-rw-r--r--markup/goldmark/toc_integration_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/markup/goldmark/toc_integration_test.go b/markup/goldmark/toc_integration_test.go
index 9b87b8fbc..f58f91f1c 100644
--- a/markup/goldmark/toc_integration_test.go
+++ b/markup/goldmark/toc_integration_test.go
@@ -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.
@@ -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
@@ -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
@@ -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>
// `)