]> Cypherpunks repositories - gostls13.git/commit
bytes: merge explodetests into splittests
authorTobias Klauser <tklauser@distanz.ch>
Tue, 2 Apr 2019 20:38:39 +0000 (22:38 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Wed, 3 Apr 2019 14:46:01 +0000 (14:46 +0000)
commit94507d2213fbd0a5e3b5276904f41c6bc0e03aba
tree224766cb5fe0081ffe118ab49f379d5eadcdd2ce
parente014184c438699b1637b1d623492f33669105002
bytes: merge explodetests into splittests

splittests already contains most of the tests that cover explode. Add
the missing ones and skip the append test for empty results which would
otherwise lead to an "index out of range" panic.

Change-Id: I2cb922282d2676be9ef85f186513075ae17c0243
Reviewed-on: https://go-review.googlesource.com/c/go/+/170126
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/bytes/bytes_test.go