(t *testing.T, e *testenv.CLITest, templateName string, expectedLines []string)
| 116 | } |
| 117 | |
| 118 | func verifyTemplateContents(t *testing.T, e *testenv.CLITest, templateName string, expectedLines []string) { |
| 119 | t.Helper() |
| 120 | |
| 121 | lines := e.RunAndExpectSuccess(t, "notification", "template", "show", ""+templateName) |
| 122 | require.Equal(t, expectedLines, lines) |
| 123 | } |
| 124 | |
| 125 | func verifyHasLine(t *testing.T, lines []string, ok func(s string) bool) { |
| 126 | t.Helper() |
no test coverage detected