aboutsummaryrefslogtreecommitdiff
path: root/src/html/template/exec_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/template/exec_test.go')
-rw-r--r--src/html/template/exec_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/template/exec_test.go b/src/html/template/exec_test.go
index 1ec346fe81..51923ff9c7 100644
--- a/src/html/template/exec_test.go
+++ b/src/html/template/exec_test.go
@@ -920,7 +920,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`},