(t *testing.T, want string, prog string, args ...string)
| 143 | } |
| 144 | |
| 145 | func runExampleWant(t *testing.T, want string, prog string, args ...string) error { |
| 146 | out, err := runExample(t, prog, args...) |
| 147 | if err != nil { |
| 148 | return fmt.Errorf("%s failed: %s: %s", prog, err, out) |
| 149 | } |
| 150 | return prefix(prog, checkEqual(want, out)) |
| 151 | } |
| 152 | |
| 153 | func exampleArgs(args ...string) []string { |
| 154 | for i := 0; i < *connections; i++ { |
no test coverage detected