From: Arthur Diniz <arthurbdiniz@gmail.com>
Date: Mon, 27 May 2024 22:14:35 +0100
Subject: Fix unprintable JS scape sequence because of Unicode version
Description: TestJSEscaping breaking unprintable character
 The test "TestJSEscaping", rune U+FDFF was used as a placeholder for an
 unprintable character. This codepoint was assigned and made printable in
 Unicode 14.0.0, breaking this test. It has been replaced with the assigned
 and never-printable U+FFFE to fix the test and provide resiliency in the
 future.
 https://cs.opensource.google/go/go/+/def0be5e34d6657c84407c8afe4ace05d10d1848

Forwarded: not-needed
Author: Arthur Diniz <arthurbdiniz@gmail.com>
Last-Update: 2024-05-27
---
 exec_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec_test.go b/exec_test.go
index a7c010d..6eb0d41 100644
--- a/exec_test.go
+++ b/exec_test.go
@@ -950,7 +950,7 @@ func TestJSEscaping(t *testing.T) {
 		{`'foo`, `\'foo`},
 		{`Go "jump" \`, `Go \"jump\" \\`},
 		{`Yukihiro says "今日は世界"`, `Yukihiro says \"今日は世界\"`},
-		{"unprintable \uFDFF", `unprintable \uFDFF`},
+		{"unprintable \uFFFE", `unprintable \uFFFE`},
 		{`<html>`, `\u003Chtml\u003E`},
 		{`no = in attributes`, `no \u003D in attributes`},
 		{`&#x27; does not become HTML entity`, `\u0026#x27; does not become HTML entity`},
