blob: 48f92d763cab8b2a6feebaa9cd6adbf5a85e7593 [file] [log] [blame]
# Test case for #67623 in go.mod files: make sure the error for
# an unknown godebug is printed on a line starting with the file
# and line number, so it can be easily parsed by tools.
! go list
stderr '^go.mod:3: unknown godebug "foo"$'
-- go.mod --
module example.com/bar
godebug foo=1