go/src/testing
Tobias Klauser bb5339196f all: use slices.Sorted(maps.Keys(m))
Use slices.Sorted(maps.Keys(m)) to get a sorted slices of the keys in
a map.

Do not change packages built during bootstrap, as the bootstrap compiler
(currently 1.22.6) does not have the required maps and slices functions.

Change-Id: Ie35565d241fa14aca56b730a69af010127b659ab
Reviewed-on: https://go-review.googlesource.com/c/go/+/617356
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
2024-10-02 14:22:59 +00:00
..
fstest all: use slices.Sorted(maps.Keys(m)) 2024-10-02 14:22:59 +00:00
internal/testdeps cmd/go: fix problems with coverage percentage reporting w/ -coverpkg 2024-06-14 11:46:05 +00:00
iotest
quick
slogtest
allocs.go
allocs_test.go
benchmark.go testing: enable better loop time measurement for benchmarking. 2024-09-20 19:10:01 +00:00
benchmark_test.go testing: implement testing.B.Loop 2024-09-20 19:09:41 +00:00
cover.go
example.go all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00
export_test.go testing: add Chdir 2024-08-16 23:48:50 +00:00
flag_test.go testing: use testenv.Executable 2024-09-03 18:03:28 +00:00
fuzz.go testing: rename testContext to testState 2024-08-21 20:52:09 +00:00
helper_test.go testing: use testenv.Executable 2024-09-03 18:03:28 +00:00
helperfuncs_test.go
match.go
match_test.go
newcover.go internal/coverage/cfile: remove //go:linkname into testing 2024-05-22 09:58:07 +00:00
panic_test.go
run_example.go
run_example_wasm.go
sub_test.go testing: rename testContext to testState 2024-08-21 20:52:09 +00:00
testing.go testing: rename testContext to testState 2024-08-21 20:52:09 +00:00
testing_other.go testing: use time.Since in highPrecisionTime 2024-04-27 19:42:36 +00:00
testing_test.go testing: use testenv.Executable 2024-09-03 18:03:28 +00:00
testing_windows.go testing: use QueryPerformanceCounter on Windows 2024-04-26 22:55:25 +00:00
testing_windows_test.go testing: use QueryPerformanceCounter on Windows 2024-04-26 22:55:25 +00:00