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

     1  go tool
     2  
     3  # Tools already in the tool directory should not be listed twice.
     4  stdout -count=1 '^compile$'
     5  
     6  # Stripped builtin tools should still be listed (go.dev/issue/75960).
     7  stdout '^nm$'
     8  stdout '^objdump$'
     9  stdout '^pprof$'
    10  
    11  # Non-main packages should not appear.
    12  ! stdout '^tools$'
    13  ! stdout '^api$'
    14  

View as plain text