- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TestDocsUpToDate (1.11 sec)
-
src/cmd/go/help_test.go
package main_test import ( "flag" "go/format" "internal/diff" "internal/testenv" "os" "strings" "testing" ) var fixDocs = flag.Bool("fixdocs", false, "if true, update alldocs.go") func TestDocsUpToDate(t *testing.T) { testenv.MustHaveGoBuild(t) if !*fixDocs { t.Parallel() } // We run 'go help documentation' as a subprocess instead of // calling help.Help directly because it may be sensitive to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 28 15:45:49 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/go/internal/help/help.go
fmt.Fprintln(w, "// Use of this source code is governed by a BSD-style") fmt.Fprintln(w, "// license that can be found in the LICENSE file.") fmt.Fprintln(w) fmt.Fprintln(w, "// Code generated by 'go test cmd/go -v -run=^TestDocsUpToDate$ -fixdocs'; DO NOT EDIT.") fmt.Fprintln(w, "// Edit the documentation in other files and then execute 'go generate cmd/go' to generate this one.") fmt.Fprintln(w) buf := new(strings.Builder) PrintUsage(buf, base.Go)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 4.7K bytes - Viewed (0) -
src/cmd/go/main.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:generate go test cmd/go -v -run=^TestDocsUpToDate$ -fixdocs package main import ( "context" "flag" "fmt" "internal/buildcfg" "log" "os" "path/filepath" rtrace "runtime/trace" "slices" "strings" "cmd/go/internal/base" "cmd/go/internal/bug"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Code generated by 'go test cmd/go -v -run=^TestDocsUpToDate$ -fixdocs'; DO NOT EDIT. // Edit the documentation in other files and then execute 'go generate cmd/go' to generate this one. // Go is a tool for managing Go source code. // // Usage: // // go <command> [arguments] //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0)