go/src/internal/fmtsort/sort_test.go

var compareTests

var iFace

func ct(typ reflect.Type, args ...any) []reflect.Value {}

func TestCompare(t *testing.T) {}

type sortTest

var sortTests

func sprint(data any) string {}

// sprintKey formats a reflect.Value but gives reproducible values for some
// problematic types such as pointers. Note that it only does special handling
// for the troublesome types used in the test cases; it is not a general
// printer.
func sprintKey(key reflect.Value) string {}

var ints

var chans

var pin

func makeChans() []chan int {}

func pointerMap() map[*int]string {}

func unsafePointerMap() map[unsafe.Pointer]string {}

func chanMap() map[chan int]string {}

type toy

func TestOrder(t *testing.T) {}

func TestInterface(t *testing.T) {}