]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/html/template/exec_test.go
all: upgrade Unicode from 13.0.0 to 15.0.0
[gostls13.git] / src / html / template / exec_test.go
index 1ec346fe814863f74edf261eb11599220a012404..51923ff9c7aee2b6aa839ad7c19f7ddbdda1cab4 100644 (file)
@@ -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`},