...

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

Documentation: cmd/go/testdata/script

     1# Issue #24233: allow backslash in path of command
     2go install -n rsc.io\fortune@v1.0.0
     3! stderr 'malformed'
     4
     5mkdir m
     6cd m
     7go mod init example.com/m
     8go get rsc.io\fortune
     9! stderr 'malformed'
    10
    11go install -n rsc.io\fortune@v1.0.0
    12! stderr 'malformed'

View as plain text