public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: W. Michael Petullo <mike@flyn.org>
To: git-commits@fedoraproject.org
Subject: [rpms/hugo] epel10: Patch to adjust expected test output to use non-breaking space
Date: Fri, 06 Nov 2026 05:39:49 GMT [thread overview]
Message-ID: <179394358913.1.14860619296069795329.rpms-hugo-6d9bb081aa71@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel10
Commit : 6d9bb081aa711e27a1ff7b3a790321d4cfdc4410
Author : W. Michael Petullo <mike@flyn.org>
Date : 2021-09-30T13:54:55-05:00
Stats : +15/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/6d9bb081aa711e27a1ff7b3a790321d4cfdc4410?branch=epel10
Log:
Patch to adjust expected test output to use non-breaking space
Signed-off-by: W. Michael Petullo <mike@flyn.org>
---
diff --git a/0008-fix-test.patch b/0008-fix-test.patch
new file mode 100644
index 0000000..16c98f7
--- /dev/null
+++ b/0008-fix-test.patch
@@ -0,0 +1,12 @@
+diff -u --recursive hugo-0.80.0-vanilla/hugolib/page_test.go hugo-0.80.0/hugolib/page_test.go
+--- hugo-0.80.0-vanilla/hugolib/page_test.go 2020-12-31 07:36:35.000000000 -0600
++++ hugo-0.80.0/hugolib/page_test.go 2021-09-30 13:43:18.270404253 -0500
+@@ -452,7 +452,7 @@
+ }
+
+ cnt := content(p)
+- if cnt != "<p>The <a href=\"http://gohugo.io/\">best static site generator</a>.<sup id=\"fnref:1\"><a href=\"#fn:1\" class=\"footnote-ref\" role=\"doc-noteref\">1</a></sup></p>\n<section class=\"footnotes\" role=\"doc-endnotes\">\n<hr>\n<ol>\n<li id=\"fn:1\" role=\"doc-endnote\">\n<p>Many people say so. <a href=\"#fnref:1\" class=\"footnote-backref\" role=\"doc-backlink\">↩︎</a></p>\n</li>\n</ol>\n</section>" {
++ if cnt != "<p>The <a href=\"http://gohugo.io/\">best static site generator</a>.<sup id=\"fnref:1\"><a href=\"#fn:1\" class=\"footnote-ref\" role=\"doc-noteref\">1</a></sup></p>\n<section class=\"footnotes\" role=\"doc-endnotes\">\n<hr>\n<ol>\n<li id=\"fn:1\" role=\"doc-endnote\">\n<p>Many people say so. <a href=\"#fnref:1\" class=\"footnote-backref\" role=\"doc-backlink\">↩︎</a></p>\n</li>\n</ol>\n</section>" {
+ t.Fatalf("Got content:\n%q", cnt)
+ }
+ }
diff --git a/hugo.spec b/hugo.spec
index 73e5ae3..f652931 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -37,6 +37,8 @@ Patch0005: 0001-Remove-trailing-semicolon.patch
Patch0006: 0001-Bump-afero-to-1.5.1.patch
# Modify to use golang-github-getkin-kin-openapi-devel >= 0.61.0
Patch0007: 0007-rename-openapi3-Swagger.patch
+# Fix a test where expected output went from "... ..." to "... ..."
+Patch0008: 0008-fix-test.patch
BuildRequires: golang(github.com/bep/golibsass/libsass) >= 0.7.0
@@ -54,6 +56,7 @@ BuildRequires: golang(github.com/bep/golibsass/libsass) >= 0.7.0
%patch0005 -p1
%patch0006 -p1
%patch0007 -p1
+%patch0008 -p1
# Replace blackfriday import path to avoid conflict with v2
sed -i \
reply other threads:[~2026-11-06 5:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179394358913.1.14860619296069795329.rpms-hugo-6d9bb081aa71@fedoraproject.org \
--to=mike@flyn.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox