]> Cypherpunks repositories - gostls13.git/commit
path: change the output format of ExampleSplit function
authorIrbe Krumina <irbekrm@gmail.com>
Thu, 22 Aug 2019 19:55:30 +0000 (20:55 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Sun, 1 Sep 2019 10:08:36 +0000 (10:08 +0000)
commit54a9c16533b5607f1eb035815b97fb13fd36ee34
tree3d9c9e00ea8a1e45ab57fd6e1c28f10c4038f43a
parentd15dfdc023f888b97ce0bc101d97c4631e575d94
path: change the output format of ExampleSplit function

At the moment the last output line of ExampleSplit- two empty strings- are being
trimmed from the output.  I have formatted the output of the function to avoid
whitespace trimming and show empty strings more clearly.

Fixes #23542

Change-Id: Ic2a4d98cfa06db1466c6c6d98099542df9e7c88b
Reviewed-on: https://go-review.googlesource.com/c/go/+/191397
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
src/path/example_test.go