- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for Cmpenv (0.17 sec)
-
src/cmd/go/testdata/script/work_edit.txt
cmp stdout go.work.want_json # go work edit -godebug cd $WORK/g cp go.work.start go.work go work edit -godebug key=value cmpenv go.work go.work.edit go work edit -dropgodebug key2 cmpenv go.work go.work.edit go work edit -dropgodebug key cmpenv go.work go.work.start # go work edit -print -fmt env GOWORK=$GOPATH/src/unformatted go work edit -print -fmt cmp stdout $GOPATH/src/formatted
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_edit.txt
# go mod edit -replace go mod edit -replace=x.1@v1.3.0=y.1/v2@v2.3.5 -replace=x.1@v1.4.0=y.1/v2@v2.3.5 cmpenv go.mod $WORK/go.mod.edit3 go mod edit -replace=x.1=y.1/v2@v2.3.6 cmpenv go.mod $WORK/go.mod.edit4 go mod edit -dropreplace=x.1 cmpenv go.mod $WORK/go.mod.edit5 go mod edit -replace=x.1=../y.1/@v2 cmpenv go.mod $WORK/go.mod.edit6 ! go mod edit -replace=x.1=y.1/@v2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/work_vendor_modules_txt_consistent.txt
cp modules.txt.required_but_not_explicit vendor/modules.txt ! go list example.com/a example.com/b cmpenv stderr required_but_not_explicit_error.txt # Replacement in go.mod but no replacement in modules.txt cp modules.txt.missing_replacement vendor/modules.txt ! go list example.com/a example.com/b cmpenv stderr missing_replacement_error.txt # Replacement in go.mod but different replacement target in modules.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 01:59:23 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/work_init_path.txt
# and it should have 'use .' rather than 'use ./.' inside. cd dir go work init . .. foo/bar mv go.work go.work.init go work init go work use -r .. cmp go.work go.work.init cmpenv go.work $WORK/go.work.want -- go.mod -- module example go 1.18 -- dir/go.mod -- module example go 1.18 -- dir/foo/bar/go.mod -- module example go 1.18 -- $WORK/go.work.want -- go $goversion
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 26 17:53:40 UTC 2023 - 571 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_go_version_missing.txt
go list -mod=mod all ! stdout '^example.com/testdep$' cmp stdout list-1.txt cmpenv go.mod go.mod.untidy go mod tidy cmpenv go.mod go.mod.tidy # On the other hand, if we jump straight to 'go mod tidy', # the requirements remain tidy from the start. cp go.mod.orig go.mod go mod tidy cmpenv go.mod go.mod.tidy # The updated version should have been written back to go.mod, so now the 'go'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 22 16:11:33 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_issue_59905.txt
# Expect no panic go list -f '{{if .DepsErrors}}{{.DepsErrors}}{{end}}' -export -e -deps cmpenv stdout wanterr_59905 # Expect no panic (Issue 61816) cp level1b_61816.txt level1b/pkg.go go list -f '{{if .DepsErrors}}{{.DepsErrors}}{{end}}' -export -e -deps cmpenv stdout wanterr_61816 -- wanterr_59905 -- [# test/main/level1a level1a${/}pkg.go:5:2: level2x redeclared in this block level1a${/}pkg.go:4:2: other declaration of level2x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 17:34:46 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/work_sum_mismatch.txt
# Test mismatched sums in go.sum files ! go run ./a cmpenv stderr want-error -- want-error -- verifying rsc.io/sampler@v1.3.0/go.mod: checksum mismatch downloaded: h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= $WORK${/}gopath${/}src${/}a${/}go.sum: h1:U1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= SECURITY ERROR This download does NOT match an earlier download recorded in go.sum.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 14:42:39 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_version.txt
# only if the toolchain is higher than what would be implied by the go line. cp go.mod.117 go.mod go mod tidy -go=$goversion cmpenv go.mod go.mod.latest cp go.mod.117 go.mod go mod tidy -go=1.21.0 # lower than $goversion cmpenv go.mod go.mod.121toolchain -- go.mod -- module example.com/m require example.net/a v0.1.0 require ( example.net/c v0.1.0 // indirect
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 02 23:07:08 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_retention.txt
# However, that should not remove other redundant requirements. # In fact, it may *add* redundant requirements due to activating lazy loading. cp go.mod.nogo go.mod go list -mod=mod all cmpenv go.mod go.mod.addedgo -- go.mod.tidy -- module m go 1.14 require ( rsc.io/quote v1.5.2 rsc.io/testonly v1.0.0 // indirect ) -- x.go -- package x import _ "rsc.io/quote"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 20 18:41:57 UTC 2021 - 3K bytes - Viewed (0) -
src/cmd/go/testdata/script/work.txt
! go work init doesnotexist stderr 'go: directory doesnotexist does not exist' go env GOWORK ! stdout . go work init ./a ./b cmpenv go.work go.work.want go env GOWORK stdout '^'$WORK'(\\|/)gopath(\\|/)src(\\|/)go.work$' ! go run example.com/b stderr 'a(\\|/)a.go:4:8: no required module provides package rsc.io/quote; to add it:\n\tcd '$WORK(\\|/)gopath(\\|/)src(\\|/)a'\n\tgo get rsc.io/quote' cd a go get rsc.io/quote cat go.mod
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 2.6K bytes - Viewed (0)