summaryrefslogtreecommitdiff
path: root/test/ken
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-11-20 11:42:28 -0800
committerRuss Cox <rsc@golang.org>2009-11-20 11:42:28 -0800
commit8fe6021f50fc3721be10de751b5aaa7db31a5d65 (patch)
treeb329b9ab575e80431e515e79f0b4dcdc141e906e /test/ken
parenta4a243521c9efb250100905adcd6ac82b79d05d6 (diff)
downloadgo-8fe6021f50fc3721be10de751b5aaa7db31a5d65.tar.gz
x[y:] for strings
R=ken2 http://codereview.appspot.com/157114
Diffstat (limited to 'test/ken')
-rw-r--r--test/ken/string.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ken/string.go b/test/ken/string.go
index f7c02822f..03e81a05d 100644
--- a/test/ken/string.go
+++ b/test/ken/string.go
@@ -64,7 +64,7 @@ main()
}
/* slice strings */
- print(c[0:3], c[3:6]);
+ print(c[0:3], c[3:]);
print("\n");