Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for 999testmod (0.45 sec)

  1. src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.openbsd-ppc64.txt

    golang.org/toolchain@v0.0.1-go1.999testmod.openbsd-ppc64
    
    -- .mod --
    module golang.org/toolchain
    -- .info --
    {"Version":"v0.0.1-go1.999testmod.openbsd-ppc64"}
    -- go.mod --
    module golang.org/toolchain
    -- bin/go --
    #!/bin/sh
    echo go1.999testmod here!
    -- bin/gofmt --
    echo i am unused
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:14:41 UTC 2023
    - 302 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.openbsd-riscv64.txt

    golang.org/toolchain@v0.0.1-go1.999testmod.openbsd-riscv64
    
    -- .mod --
    module golang.org/toolchain
    -- .info --
    {"Version":"v0.0.1-go1.999testmod.openbsd-riscv64"}
    -- go.mod --
    module golang.org/toolchain
    -- bin/go --
    #!/bin/sh
    echo go1.999testmod here!
    -- bin/gofmt --
    echo i am unused
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:49 UTC 2023
    - 306 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_get_toolchain.txt

    # Again, with toolchains.
    
    # go get toolchain should find go1.999testmod.
    go get toolchain
    stderr '^go: upgraded toolchain go1.99rc1 => go1.999testmod$'
    grep 'go 1.23.9' go.mod
    grep 'toolchain go1.999testmod' go.mod
    
    # go get toolchain@go1.23 should use the latest Go 1.23
    go get toolchain@go1.23
    stderr '^go: removed toolchain go1.999testmod$'
    grep 'go 1.23.9' go.mod
    ! grep 'toolchain go1.23.9' go.mod  # implied
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 19:33:16 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/gotoolchain_net.txt

    # GOTOOLCHAIN from network
    [!exec:/bin/sh] stop 'the fake proxy serves shell scripts instead of binaries'
    env GOTOOLCHAIN=go1.999testmod
    go version
    stderr 'go: downloading go1.999testmod \(.*/.*\)'
    
    # GOTOOLCHAIN cached from network
    go version
    ! stderr downloading
    stdout go1.999testmod
    
    # GOTOOLCHAIN with GOSUMDB enabled but at a bad URL should operate in cache and not try badurl
    env oldsumdb=$GOSUMDB
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 17:16:47 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. src/internal/gover/gover_test.go

    	{"1.24.0", Version{"1", "24", "0", "", ""}},
    	{"1.999testmod", Version{"1", "999", "", "testmod", ""}},
    	{"1.99999999999999999", Version{"1", "99999999999999999", "", "", ""}},
    }
    
    func TestLang(t *testing.T) { test1(t, langTests, "Lang", Lang) }
    
    var langTests = []testCase1[string, string]{
    	{"1.2rc3", "1.2"},
    	{"1.2.3", "1.2"},
    	{"1.2", "1.2"},
    	{"1", "1"},
    	{"1.999testmod", "1.999"},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/gover/gover_test.go

    	{"1.2rc3", "1.2"},
    	{"1.2.3", "1.2"},
    	{"1.2", "1.2"},
    	{"1", "1"},
    	{"1.999testmod", "1.999"},
    }
    
    func TestIsLang(t *testing.T) { test1(t, isLangTests, "IsLang", IsLang) }
    
    var isLangTests = []testCase1[string, bool]{
    	{"1.2rc3", false},
    	{"1.2.3", false},
    	{"1.999testmod", false},
    	{"1.22", true},
    	{"1.21", true},
    	{"1.20", false}, // == 1.20.0
    	{"1.19", false}, // == 1.20.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/gotoolchain_modcmds.txt

    # go version required for rsc.io/future, not fail.
    go get .
    stderr '^go: module rsc.io/future@v1.0.0 requires go >= 1.999; switching to go1.999testmod$'
    stderr '^go: upgraded go 1.21 => 1.999$'
    stderr '^go: added toolchain go1.999testmod$'
    
    
    # Now, the various 'go mod' subcommands should succeed.
    
    go mod download
    
    go mod verify
    
    go mod graph
    
    
    -- go.mod --
    module example
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/go/version/version_test.go

    	{"go1.2.3", "go1.2"},
    	{"go1.2", "go1.2"},
    	{"go1", "go1"},
    	{"go222", "go222.0"},
    	{"go1.999testmod", "go1.999"},
    }
    
    func TestIsValid(t *testing.T) { test1(t, isValidTests, "IsValid", IsValid) }
    
    var isValidTests = []testCase1[string, bool]{
    	{"", false},
    	{"1.2.3", false},
    	{"go1.2rc3", true},
    	{"go1.2.3", true},
    	{"go1.999testmod", true},
    	{"go1.600+auto", false},
    	{"go1.22", true},
    	{"go1.21.0", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 19:56:48 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top