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
commit7089e97992d5d6be520dfea787200061992526c8 (patch)
treeb329b9ab575e80431e515e79f0b4dcdc141e906e /test/ken
parenta355a418e17bfd1b164484b159017776da9351f9 (diff)
downloadgolang-7089e97992d5d6be520dfea787200061992526c8.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");