(t *testing.T)
| 72 | } |
| 73 | |
| 74 | func TestFlushContentOnly_WritesCorrectContent(t *testing.T) { |
| 75 | g := newTestGui(t) |
| 76 | status, _ := setupViews(t, g) |
| 77 | |
| 78 | status.SetContent("Fetching |") |
| 79 | assert.NoError(t, g.flushContentOnly(g.views)) |
| 80 | |
| 81 | assert.Equal(t, "Fetching |", status.Buffer()) |
| 82 | } |
| 83 | |
| 84 | func TestProcessEvent_ContentOnlyEvent_SkipsTaintedCheck(t *testing.T) { |
| 85 | g := newTestGui(t) |
nothing calls this directly
no test coverage detected