Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 5,215 for TXT (0.02 sec)

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

    cp stdout tool-json-broken.txt
    
    [short] stop
    
    
    # Check against the real cmd/dist as the source of truth.
    
    env GOROOT=$TESTGO_GOROOT
    go build -o dist.exe cmd/dist
    
    exec ./dist.exe list
    cmp stdout tool.txt
    
    exec ./dist.exe list -v
    cmp stdout tool-v.txt
    
    exec ./dist.exe list -broken
    cmp stdout tool-broken.txt
    
    exec ./dist.exe list -json
    cmp stdout tool-json.txt
    
    exec ./dist.exe list -json -broken
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:52:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_load_badzip.txt

    env GO111MODULE=on
    
    ! go get rsc.io/badzip
    stderr 'zip for rsc.io/badzip@v1.0.0 has unexpected file rsc.io/badzip@v1.0.0.txt'
    ! grep rsc.io/badzip go.mod
    
    go mod edit -require rsc.io/badzip@v1.0.0
    ! go build -mod=mod rsc.io/badzip
    stderr 'zip for rsc.io/badzip@v1.0.0 has unexpected file rsc.io/badzip@v1.0.0.txt'
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 403 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/list_test_imports.txt

    go list -test -f '{{.ImportPath}}:{{with .Imports}} {{join . ", "}}{{end}}' a b
    cmp stdout imports.txt
    
    -- a/a.go --
    package a; import _ "b"
    -- b/b.go --
    package b
    -- b/b_test.go --
    package b
    -- b/b_x_test.go --
    package b_test; import _ "a"
    
    -- imports.txt --
    a: b
    b:
    b.test: b [b.test], b_test [b.test], os, reflect, testing, testing/internal/testdeps
    b [b.test]:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 17 00:45:15 UTC 2020
    - 474 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_race_install_cgo.txt

    ? go test -race -i runtime/race
    
    exec $GOBIN/mtime cgopath.txt # get the mtime of the file whose name is in cgopath.txt
    cp stdout cgotime_after.txt
    exec $GOBIN/sametime cgotime_before.txt cgotime_after.txt
    
    -- go.mod --
    module m
    
    go 1.16
    -- mtime/mtime.go --
    package main
    
    import (
    	"encoding/json"
    	"fmt"
    	"os"
    	"strings"
    )
    
    func main() {
    	b, err := os.ReadFile(os.Args[1])
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 27 14:03:15 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_gomodcache_vendor.txt

    # See issue #46400
    [short] skip 'builds and links a binary twice'
    go mod tidy
    go mod vendor
    
    go build -mod=vendor
    go version -m example$GOEXE
    cp stdout version-m.txt
    
    env GOMODCACHE=$WORK${/}modcache
    go build -mod=vendor
    go version -m example$GOEXE
    cmp stdout version-m.txt
    
    -- go.mod --
    module example
    go 1.22
    require rsc.io/sampler v1.3.0
    
    -- main.go --
    package main
    
    import (
        "fmt"
        "rsc.io/sampler"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 17:19:18 UTC 2024
    - 568 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/work_vendor_prune.txt

    # This test exercises that vendoring works properly using the workspace in the
    # the work_prune test case.
    
    go work vendor
    cmp vendor/modules.txt modules.txt.want
    cmp vendor/example.com/b/b.go b/b.go
    cmp vendor/example.com/q/q.go q1_1_0/q.go
    go list -m -f '{{.Version}}' example.com/q
    stdout '^v1.1.0$'
    
    go list -f '{{.Dir}}' example.com/q
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]q
    go list -f '{{.Dir}}' example.com/b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_go_version_missing.txt

    # For Go 1.16 modules, 'all' should prune out dependencies of tests,
    # even if the 'go' directive is missing.
    
    go list -mod=readonly all
    stdout '^example.com/dep$'
    ! stdout '^example.com/testdep$'
    cp stdout list-1.txt
    cmp go.mod go.mod.orig
    
    # We should only default to -mod=vendor if the 'go' directive is explicit in the
    # go.mod file. Otherwise, we don't actually know whether the module was written
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 16:11:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/generate_workspace.txt

    [short] skip
    
    go generate ./mod
    cmp ./mod/got.txt want.txt
    
    -- go.work --
    go 1.22
    
    use ./mod
    -- mod/go.mod --
    module example.com/mod
    -- mod/gen.go --
    //go:generate go run gen.go got.txt
    
    package main
    
    import "os"
    
    func main() {
        outfile := os.Args[1]
        os.WriteFile(outfile, []byte("Hello World!\n"), 0644)
    }
    -- want.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 437 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_vendor_unused_only.txt

    # requirements in go.mod are unused.  Regression test for
    # golang.org/issue/36580
    
    env GO111MODULE=on
    
    go mod vendor
    cmp go1.14-modules.txt vendor/modules.txt
    
    -- go.mod --
    module example.com/m
    go 1.14
    
    require example.com v1.0.0 // indirect
    -- go.sum --
    example.com v1.0.0/go.mod h1:WRiieAqDBb1hVdDXLLdxNtCDWNfehn7FWyPC5Oz2vB4=
    -- go1.14-modules.txt --
    # example.com v1.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 13 00:19:50 UTC 2021
    - 459 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_indirect_main.txt

    # dependencies through older versions of the main module.
    
    go list -f '{{with .Module}}{{.Path}}{{with .Version}} {{.}}{{end}}{{end}}' all
    cmp stdout pkgmods.txt
    
    go list -m all
    cmp stdout mods.txt
    
    go mod graph
    cmp stdout graph.txt
    
    -- go.mod --
    module golang.org/issue/root
    
    go 1.12
    
    replace (
    	golang.org/issue/mirror v0.1.0 => ./mirror-v0.1.0
    	golang.org/issue/pkg v0.1.0 => ./pkg-v0.1.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 23:07:08 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top