aboutsummaryrefslogtreecommitdiff
path: root/test/range.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-02-24 10:30:39 +1100
committerRob Pike <r@golang.org>2012-02-24 10:30:39 +1100
commit19bab1dc78f1a1398d8e86bda1513b3671995ed7 (patch)
tree4da3e71a170e6bfe927d16b308907ca19fc15b7c /test/range.go
parent5b30306fa81d2f95c152f6b8cd5e4b22a3befcbf (diff)
downloadgo-19bab1dc78f1a1398d8e86bda1513b3671995ed7.tar.gz
go-19bab1dc78f1a1398d8e86bda1513b3671995ed7.zip
test/[n-r]*.go: add documentation
The rename ones needed redoing. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/5698054
Diffstat (limited to 'test/range.go')
-rw-r--r--test/range.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/range.go b/test/range.go
index 7921e447ec..b0f3ae605a 100644
--- a/test/range.go
+++ b/test/range.go
@@ -4,6 +4,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// Test the 'for range' construct.
+
package main
// test range over channels