tailscale/cmd/testwrapper
Brad Fitzpatrick 1e2e319e7d util/slicesx: add MapKeys and MapValues from golang.org/x/exp/maps
Importing the ~deprecated golang.org/x/exp/maps as "xmaps" to not
shadow the std "maps" was getting ugly.

And using slices.Collect on an iterator is verbose & allocates more.

So copy (x)maps.Keys+Values into our slicesx package instead.

Updates #cleanup
Updates #12912
Updates #14514 (pulled out of that change)

Change-Id: I5e68d12729934de93cf4a9cd87c367645f86123a
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2025-01-03 10:48:31 -08:00
..
flakytest cmd/testwrapper: include flake URL in JSON metadata 2023-09-28 18:37:22 -07:00
args_test.go cmd/testwrapper: parse args better 2023-10-16 17:33:50 -07:00
args.go all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08:00
testwrapper_test.go cmd/testwrapper: add pkg runtime to output (#13894) 2024-10-24 09:41:54 -05:00
testwrapper.go util/slicesx: add MapKeys and MapValues from golang.org/x/exp/maps 2025-01-03 10:48:31 -08:00