aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2014-10-28 10:18:44 +1100
committerAndrew Gerrand <adg@golang.org>2014-10-28 10:18:44 +1100
commite71c9cbe260941bfb322c69e4a4f10b4323a228e (patch)
treefffc4113e1c664d18ff4a4a3fec47d19e227e002
parent0f698be54742be2d66c044b61267782272777ff8 (diff)
downloadgo-e71c9cbe260941bfb322c69e4a4f10b4323a228e.tar.gz
go-e71c9cbe260941bfb322c69e4a4f10b4323a228e.zip
html/template: fix build after encoding/js escaping change
TBR=rsc R=golang-codereviews CC=golang-codereviews https://golang.org/cl/159590043
-rw-r--r--src/html/template/js_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/template/js_test.go b/src/html/template/js_test.go
index 311e1d2c4e..7af7997de9 100644
--- a/src/html/template/js_test.go
+++ b/src/html/template/js_test.go
@@ -138,7 +138,7 @@ func TestJSValEscaper(t *testing.T) {
// Newlines.
{"\r\n\u2028\u2029", `"\r\n\u2028\u2029"`},
// "\v" == "v" on IE 6 so use "\x0b" instead.
- {"\t\x0b", `"\u0009\u000b"`},
+ {"\t\x0b", `"\t\u000b"`},
{struct{ X, Y int }{1, 2}, `{"X":1,"Y":2}`},
{[]interface{}{}, "[]"},
{[]interface{}{42, "foo", nil}, `[42,"foo",null]`},