Open

Description
Seems you can't alias testing.T
, it confuses go test
. Confuses Go Playground too.
go version go1.18.1 linux/amd64
What did you do?
https://go.dev/play/p/21W7rITsLUb
What did you expect to see?
Test results
What did you see instead?
wrong signature for TestLastIndex, must be: func TestLastIndex(t *testing.T)