Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for Messages (2.76 sec)

  1. src/cmd/go/testdata/script/mod_retract_rationale.txt

    
    # 'go get' should omit long messages.
    go get example.com/retract/rationale@v1.0.0-long
    stderr '^go: warning: example.com/retract/rationale@v1.0.0-long: retracted by module author: \(message omitted: too long\)'
    
    # 'go list' should show the full message.
    go list -m -retracted -f '{{.Retracted}}' example.com/retract/rationale
    stdout '^\[lo{500}ng\]$'
    
    
    # 'go get' should omit messages with unprintable characters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_json_issue35169.txt

    ! go test -json .
    
    	# We should see only JSON output on stdout, no non-JSON.
    	# To simplify the check, we just look for non-curly-braces, since
    	# every JSON entry has them and they're unlikely to occur
    	# in other error messages.
    ! stdout '^[^{]'
    ! stdout '[^}]\n$'
    
    	# Since the only test we requested failed to build, we should
    	# not see any "pass" actions in the JSON stream.
    ! stdout '\{.*"Action":"pass".*\}'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:29:21 UTC 2023
    - 804 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_get_changes.txt

    # and for changed explicit dependencies. 'go get' does not print messages
    # for changed indirect dependencies.
    go get rsc.io/sampler@none
    stderr '^go: downgraded rsc.io/quote v1.5.2 => v1.3.0$'
    stderr '^go: removed rsc.io/sampler v1.3.0$'
    ! stderr '^go get.*golang.org/x/text'
    cmp go.mod go.mod.downgrade
    
    # When removing or downgrading a requirement, 'go get' also prints a message
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_chatty_parallel_fail.txt

    			t.Parallel()
    
    			// Some basic log output to precede the failures.
    			<-ready[i]
    			t.Logf("this is sub-%d", i)
    			ready[(i+1)%len(ready)] <- true
    
    			// The actual failure messages we care about.
    			<-ready[i]
    			t.Errorf("error from sub-%d", i)
    			ready[(i+1)%len(ready)] <- true
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_empty_err.txt

    # This test checks error messages for non-existent packages in module mode.
    # Veries golang.org/issue/35414
    env GO111MODULE=on
    cd $WORK
    
    go list -e -f {{.Error}} .
    stdout 'no Go files in '$WORK
    
    go list -e -f {{.Error}} ./empty
    stdout 'no Go files in '$WORK${/}'empty'
    
    go list -e -f {{.Error}} ./exclude
    stdout 'build constraints exclude all Go files in '$WORK${/}'exclude'
    
    go list -e -f {{.Error}} ./missing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:16 UTC 2022
    - 922 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_replace.txt

    go build -mod=mod -o a5.exe ./usenewmodule
    ! stderr 'finding not-rsc.io/quote/v3'
    grep 'not-rsc.io/quote/v3 v3.1.0' go.mod
    exec ./a5.exe
    stdout 'Concurrency is not parallelism.'
    
    # Error messages for modules not found in replacements should
    # indicate the replacement module.
    cp go.mod.orig go.mod
    go mod edit -replace=rsc.io/quote/v3=./local/rsc.io/quote/v3
    ! go get rsc.io/quote/v3/missing-package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_e.txt

    cp go.mod go.mod.orig
    
    
    # If a dependency cannot be resolved, 'go mod tidy' fails with an error message
    # explaining the problem and does not update the go.mod file.
    # TODO(bcmills): Ideally, with less redundancy than these error messages!
    
    ! go mod tidy
    
    stderr '^go: example.com/untidy imports\n\texample.net/directnotfound: cannot find module providing package example.net/directnotfound: module example.net/directnotfound: reading http://.*: 404 Not Found$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_load_badchain.txt

    [short] skip
    env GO111MODULE=on
    
    # Download everything to avoid "finding" messages in stderr later.
    cp go.mod.orig go.mod
    go mod download
    go mod download example.com@v1.0.0
    go mod download example.com/badchain/a@v1.1.0
    go mod download example.com/badchain/b@v1.1.0
    go mod download example.com/badchain/c@v1.1.0
    
    # Try to update example.com/badchain/a (and its dependencies).
    ! go get example.com/badchain/a
    cmp stderr update-a-expected
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_tidy_convergence_loop.txt

    stderr -count=2 '^go: finding module for package example\.net/y$'
    stderr -count=2 '^go: finding module for package example\.net/z$'
    stderr '^go: found example\.net/x in example\.net/x v0.1.0$'
    
    	# TODO: These error messages should be clearer — it doesn't indicate why v0.2.0-pre is required.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/vcstest/auth/oronelongline.txt

    handle auth
    
    -- .access --
    {
    	"Username": "aladdin",
    	"Password": "opensesame",
    	"StatusCode": 404,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:22:22 UTC 2022
    - 917 bytes
    - Viewed (0)
Back to top