]> Cypherpunks repositories - gostls13.git/commit
bytes: change ExampleReader_Len to use a non-ASCII string
authorRuss Cox <rsc@golang.org>
Tue, 14 Nov 2017 02:20:23 +0000 (21:20 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 15 Nov 2017 21:25:07 +0000 (21:25 +0000)
commit22671e734473d3cd088958a00826c1adf936032c
tree287f4db592bb4e5297bf52ab826ff8e4f8ee5e53
parent04344266860c2da1d6014afe18dadac2e0484ac4
bytes: change ExampleReader_Len to use a non-ASCII string

This should help make clear that Len is not counting runes.
Also delete empty string, which doesn't add much.

Change-Id: I1602352df1897fef6e855e9db0bababb8ab788ca
Reviewed-on: https://go-review.googlesource.com/78110
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
src/bytes/example_test.go