(s string)
| 442 | } |
| 443 | |
| 444 | func (c *Cmd) AssertOutNotContains(s string) { |
| 445 | c.Base.T.Helper() |
| 446 | c.AssertOutWithFunc(func(stdout string) error { |
| 447 | if strings.Contains(stdout, s) { |
| 448 | return fmt.Errorf("expected stdout to not contain %q", s) |
| 449 | } |
| 450 | return nil |
| 451 | }) |
| 452 | } |
| 453 | |
| 454 | func (c *Cmd) AssertOutExactly(s string) { |
| 455 | c.Base.T.Helper() |
nothing calls this directly
no test coverage detected