]> Cypherpunks repositories - gostls13.git/commit
bytes: make ExampleTrimLeft and ExampleTrimRight match
authorRuss Cox <rsc@golang.org>
Tue, 14 Nov 2017 02:21:59 +0000 (21:21 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 15 Nov 2017 21:25:13 +0000 (21:25 +0000)
commite7628bee6e8ddac41b213d9ed0b2d6e4051674e4
tree89b1a600711481342927837d6e6fc82fb51fe0cb
parent22671e734473d3cd088958a00826c1adf936032c
bytes: make ExampleTrimLeft and ExampleTrimRight match

ExampleTrimLeft was inexplicably complex.

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