- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for checkScriptReadme (0.19 sec)
-
src/cmd/go/scriptreadme_test.go
"flag" "internal/diff" "internal/testenv" "os" "strings" "testing" "text/template" ) var fixReadme = flag.Bool("fixreadme", false, "if true, update ../testdata/script/README") func checkScriptReadme(t *testing.T, engine *script.Engine, env []string) { var args struct { Language string Commands string Conditions string } cmds := new(strings.Builder)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.9K bytes - Viewed (0) -
src/cmd/go/script_test.go
t.Fatal(err) } engine := &script.Engine{ Conds: scriptConditions(), Cmds: scriptCommands(quitSignal(), gracePeriod), Quiet: !testing.Verbose(), } t.Run("README", func(t *testing.T) { checkScriptReadme(t, engine, env) }) files, err := filepath.Glob("testdata/script/*.txt") if err != nil { t.Fatal(err) } for _, file := range files { file := file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0)