From cb3e2bf0baba3f056322d31e0edd0432eb34ea10 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sun, 21 Jun 2015 05:10:05 +1000 Subject: cmd/doc: fix copy/paste error in test Some of those consts were supposed to be vars. Caught by Ingo Oeser. Change-Id: Ifc12e4a8ee61ebf5174e4ad923956c546dc096e2 Reviewed-on: https://go-review.googlesource.com/11296 Reviewed-by: Andrew Gerrand --- src/cmd/doc/testdata/pkg.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cmd/doc/testdata/pkg.go') diff --git a/src/cmd/doc/testdata/pkg.go b/src/cmd/doc/testdata/pkg.go index 013cdca679..ebefb50b2a 100644 --- a/src/cmd/doc/testdata/pkg.go +++ b/src/cmd/doc/testdata/pkg.go @@ -24,13 +24,13 @@ const ( // Variables // Comment about exported variable. -const ExportedVariable = 1 +var ExportedVariable = 1 // Comment about internal variable. -const internalVariable = 2 +var internalVariable = 2 // Comment about block of variables. -const ( +var ( // Comment before VarOne. VarOne = 1 VarTwo = 2 // Comment on line with VarTwo. -- cgit v1.3