aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-10-25 17:45:26 -0700
committerRobert Griesemer <gri@golang.org>2010-10-25 17:45:26 -0700
commit19b8fc788ce836730d47727d87e5b2ec49870624 (patch)
tree330db39163b0985a3635fa7c221247de01e319b0
parentc77f09008529964b13c22a788fafcf60cd247cae (diff)
downloadgo-19b8fc788ce836730d47727d87e5b2ec49870624.tar.gz
go-19b8fc788ce836730d47727d87e5b2ec49870624.zip
tabwriter: delete unnecessary type declaration
R=rsc, r2 CC=golang-dev https://golang.org/cl/2733041
-rw-r--r--src/pkg/tabwriter/tabwriter_test.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/pkg/tabwriter/tabwriter_test.go b/src/pkg/tabwriter/tabwriter_test.go
index 1c1eecf31b..043d9154e1 100644
--- a/src/pkg/tabwriter/tabwriter_test.go
+++ b/src/pkg/tabwriter/tabwriter_test.go
@@ -99,16 +99,13 @@ func check(t *testing.T, testname string, minwidth, tabwidth, padding int, padch
}
-type entry struct {
+var tests = []struct {
testname string
minwidth, tabwidth, padding int
padchar byte
flags uint
src, expected string
-}
-
-
-var tests = []entry{
+}{
{
"1a",
8, 0, 1, '.', 0,