...

Text file src/cmd/go/testdata/script/mod_errors_pos.txt

Documentation: cmd/go/testdata/script

     1# Test case for #67623 in go.mod files: make sure the error for
     2# an unknown godebug is printed on a line starting with the file
     3# and line number, so it can be easily parsed by tools.
     4
     5! go list
     6stderr '^go.mod:3: unknown godebug "foo"$'
     7
     8-- go.mod --
     9module example.com/bar
    10
    11godebug foo=1

View as plain text