(t *testing.T)
| 99 | m := testModel() |
| 100 | if m.section != sectionMail { |
| 101 | t.Errorf("initial section = %d, want sectionMail", m.section) |
| 102 | } |
| 103 | if m.focus != rowContent { |
| 104 | t.Errorf("initial focus = %d, want rowContent", m.focus) |
| 105 | } |
| 106 | if !m.loading { |
| 107 | t.Error("loading should be true initially") |
| 108 | } |
| 109 | } |
| 110 |