diff options
author | Russ Cox <rsc@golang.org> | 2009-09-14 21:03:53 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-09-14 21:03:53 -0700 |
commit | 1a3198907bf18ac961762024cf2a27581e6be6c3 (patch) | |
tree | 026f00b9ffbf7b5b865b8a3c9749c1499e2b182a /test/stringrange.go | |
parent | 59914723df0b120961477040673c21bc88378f92 (diff) | |
download | go-1a3198907bf18ac961762024cf2a27581e6be6c3.tar.gz go-1a3198907bf18ac961762024cf2a27581e6be6c3.zip |
fix "declared and not used" in tests;
also template/template.go, missed last time.
R=r
DELTA=116 (61 added, 10 deleted, 45 changed)
OCL=34620
CL=34622
Diffstat (limited to 'test/stringrange.go')
-rw-r--r-- | test/stringrange.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/stringrange.go b/test/stringrange.go index 5d5b3a3b8c..9215b95fa4 100644 --- a/test/stringrange.go +++ b/test/stringrange.go @@ -15,7 +15,6 @@ import ( func main() { s := "\000\123\x00\xca\xFE\u0123\ubabe\U0000babe\U0010FFFFx"; expect := []int{ 0, 0123, 0, 0xFFFD, 0xFFFD, 0x123, 0xbabe, 0xbabe, 0x10FFFF, 'x' }; - var rune, size int; offset := 0; var i, c int; ok := true; |