]> Cypherpunks repositories - gostls13.git/commit
internal/fmtsort: order channels in test in memory address order
authorKeith Randall <khr@golang.org>
Mon, 8 Nov 2021 05:29:30 +0000 (21:29 -0800)
committerKeith Randall <khr@golang.org>
Mon, 8 Nov 2021 17:30:10 +0000 (17:30 +0000)
commit6a9d81174e6c7d205fc189a1eac56212a723c40c
tree336db8a2b58ecb59b8993b2aecf87d4ff96bf690
parent7bda349c1735fb6043b22d7a0e4542134baa6518
internal/fmtsort: order channels in test in memory address order

Kind of a kludge, but it makes the test work reliably.

Fixes #49431

Change-Id: Ic2a075ba02f80ea7efcc1b3f0f5a43649e87c0d8
Reviewed-on: https://go-review.googlesource.com/c/go/+/361918
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/internal/fmtsort/sort_test.go