"errors"
"fmt"
"internal/testenv"
+ "internal/txtar"
"io"
"io/fs"
"os"
"path/filepath"
"reflect"
"testing"
-
- "golang.org/x/tools/txtar"
)
// initOverlay resets the overlay state to reflect the config.
"errors"
"flag"
"fmt"
+ "internal/txtar"
"io"
"io/fs"
"log"
"golang.org/x/mod/semver"
"golang.org/x/mod/sumdb"
"golang.org/x/mod/sumdb/dirhash"
- "golang.org/x/tools/txtar"
)
var (
"fmt"
"go/build"
"internal/testenv"
+ "internal/txtar"
"io/fs"
"os"
"os/exec"
"cmd/go/internal/robustio"
"cmd/go/internal/work"
"cmd/internal/sys"
-
- "golang.org/x/tools/txtar"
)
var testSum = flag.String("testsum", "", `may be tidy, listm, or listall. If set, TestScript generates a go.sum file at the beginning of each test and updates test files if they pass.`)
"flag"
"fmt"
exec "internal/execabs"
+ "internal/txtar"
"io/fs"
"log"
"os"
"path/filepath"
"strings"
-
- "golang.org/x/tools/txtar"
)
func usage() {
import (
"flag"
"fmt"
+ "internal/txtar"
"io/fs"
"log"
"os"
"path/filepath"
"strings"
"unicode/utf8"
-
- "golang.org/x/tools/txtar"
)
func usage() {
The first word should be the general category of behavior being tested,
often the name of a go subcommand (list, build, test, ...) or concept (vendor, pattern).
-Each script is a text archive (go doc cmd/go/internal/txtar).
+Each script is a text archive (go doc internal/txtar).
The script begins with an actual command script to run
followed by the content of zero or more supporting files to
create in the script's temporary file system before it starts executing.
golang.org/x/tools/internal/analysisinternal
golang.org/x/tools/internal/lsp/fuzzy
golang.org/x/tools/internal/typeparams
-golang.org/x/tools/txtar
# golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
## explicit; go 1.11
golang.org/x/xerrors
FMT, container/heap, math/rand
< internal/trace;
+
+ FMT
+ < internal/txtar;
`
// listStdPkgs returns the same list of packages as "go list std".