(t *testing.T)
| 185 | } |
| 186 | |
| 187 | func TestAndNMore_Removed(t *testing.T) { |
| 188 | // Create more stories than can fit in the panel |
| 189 | app := newTestApp(makeStories(20), 120, 15) |
| 190 | |
| 191 | output := app.renderStoriesPanel(40, 12) |
| 192 | |
| 193 | if strings.Contains(output, "... and") || strings.Contains(output, "more") { |
| 194 | t.Error("expected '... and N more' to be removed from stories panel") |
| 195 | } |
| 196 | } |
nothing calls this directly
no test coverage detected