[pkgsite] /internal/godoc/dochtml/internal/render: fix tests

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Jul 16, 2026, 2:14:07 PM (yesterday) Jul 16
to Jonathan Amsterdam, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Ethan Lee, kokoro, golang...@luci-project-accounts.iam.gserviceaccount.com, Dmitri Shuralyov, Hyang-Ah Hana Kim, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
/internal/godoc/dochtml/internal/render: fix tests

Tip is failing some doc rendering tests because smart quotes
are being replaced with more standard characters.
Change the tests to allow either string.

For golang/go#76975.
For golang/go#80432.
Change-Id: Ibc508c39eb4785515d98b4eaf4fce299831b4924
kokoro-CI: kokoro <noreply...@google.com>
Reviewed-by: Ethan Lee <etha...@google.com>
Auto-Submit: Jonathan Amsterdam <j...@google.com>
Files:
  • M internal/godoc/dochtml/internal/render/linkify_test.go
Change size: S
Delta: 1 file changed, 11 insertions(+), 3 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: Ibc508c39eb4785515d98b4eaf4fce299831b4924
Gerrit-Change-Number: 801520
Gerrit-PatchSet: 8
Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
Gerrit-Reviewer: Ethan Lee <etha...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
Gerrit-Reviewer: kokoro <noreply...@google.com>
Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
Gerrit-CC: kokoro <noreply...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages