1# Test case that makes sure we print a nice error message 2# instead of the generic "unknown godebug" error message 3# for removed GODEBUGs. 4 5! go list 6stderr '^go.mod:3: use of removed godebug "x509sha1", see https://go.dev/doc/godebug#go-124$' 7 8-- go.mod -- 9module example.com/bar 10 11godebug x509sha1=1