diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-12-14 15:41:54 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-12-14 15:41:54 +0000 |
commit | d5363590597572228d4e0d0ae13f3469176ceb14 (patch) | |
tree | e3de46cbc89d82ca1f49843fe2e1e670db67795e /libgo/go/html/template/escape_test.go | |
parent | ef0d4c4d9937276c8ff818ecb0b92925d322d3bd (diff) | |
download | gcc-d5363590597572228d4e0d0ae13f3469176ceb14.tar.gz |
libgo: Update to weekly.2011-12-06.
From-SVN: r182338
Diffstat (limited to 'libgo/go/html/template/escape_test.go')
-rw-r--r-- | libgo/go/html/template/escape_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libgo/go/html/template/escape_test.go b/libgo/go/html/template/escape_test.go index b4daca7d6bd..cdeed48b822 100644 --- a/libgo/go/html/template/escape_test.go +++ b/libgo/go/html/template/escape_test.go @@ -689,11 +689,11 @@ func TestEscapeSet(t *testing.T) { data := dataItem{ Children: []*dataItem{ - &dataItem{X: "foo"}, - &dataItem{X: "<bar>"}, - &dataItem{ + {X: "foo"}, + {X: "<bar>"}, + { Children: []*dataItem{ - &dataItem{X: "baz"}, + {X: "baz"}, }, }, }, @@ -1597,7 +1597,7 @@ func TestRedundantFuncs(t *testing.T) { for n0, m := range redundantFuncs { f0 := funcMap[n0].(func(...interface{}) string) - for n1, _ := range m { + for n1 := range m { f1 := funcMap[n1].(func(...interface{}) string) for _, input := range inputs { want := f0(input) |