diff options
| author | Dave Collins <[email protected]> | 2013-11-14 22:03:41 -0600 |
|---|---|---|
| committer | Dave Collins <[email protected]> | 2013-11-14 22:03:41 -0600 |
| commit | 3b4a2055ceb3d3f007cad35f3766431c93ef457d (patch) | |
| tree | ef24be3b2db1d081a9f8cf0c1f0b2ef88984ae11 /spew/common_test.go | |
| parent | 67c401cf121f235f32b5ecbfc7989b88709b57d9 (diff) | |
Correct valuesSorter.Less function for uintptr.
The function sort be sorting the uintptr itself, not the address of it.
Also, the previous code could easily panic on an unaddressable
reflect.Value since it was trying to take an address.
Diffstat (limited to 'spew/common_test.go')
0 files changed, 0 insertions, 0 deletions
