aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug/stack_test.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-03-18 12:14:20 -0700
committerIan Lance Taylor <iant@golang.org>2022-03-28 22:06:49 +0000
commit32fdad19a246143ae4f194d1b39886d778de1380 (patch)
tree72e204d9e129ad64c328fd3fff9eb51058919884 /src/runtime/debug/stack_test.go
parent460fd63cccd2f1d16fc4b1b761545b1649e14e28 (diff)
downloadgo-32fdad19a246143ae4f194d1b39886d778de1380.tar.xz
bytes: restore old Trim/TrimLeft behavior for nil
Keep returning nil for the cases where we historically returned nil, even though this is slightly different for TrimLeft and TrimRight. Fixes #51793 Change-Id: Ifbdfc6b09d52b8e063cfe6341019f9b2eb8b70e9 Reviewed-on: https://go-review.googlesource.com/c/go/+/393876 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/debug/stack_test.go')
0 files changed, 0 insertions, 0 deletions