Re: [go-nuts] GOEXPERIMENT source code build

2024-08-16 Thread Ian Lance Taylor
On Fri, Aug 16, 2024 at 7:28 AM Leah Stapleton wrote: > > I have a question about building go source code to run the tests go swiss > maps experiments. > > first off, > There are tests with the same name in map_swiss_test.go and > map_noswiss_test.go, and when I go test -run TestMapIterOrder, it

Re: [go-nuts] GOEXPERIMENT source code build

2024-08-16 Thread 'Michael Pratt' via golang-nuts
You can just set the environment variable, so `GOEXPERIMENT=swissmap go test`. On Fri, Aug 16, 2024 at 3:28 PM Leah Stapleton wrote: > Hi, > I have a question about building go source code to run the tests go swiss > maps experiments. > > first off, > There are tests with the same name in map_sw

[go-nuts] GOEXPERIMENT source code build

2024-08-16 Thread Leah Stapleton
Hi, I have a question about building go source code to run the tests go swiss maps experiments. first off, There are tests with the same name in map_swiss_test.go and map_noswiss_test.go, and when I *go test -run TestMapIterOrder, *it is by default running the test in map_noswiss_test.go, so