(t *testing.T)
| 60 | func currentPostingsLoaded(v *mailView, postings []mail.Posting) postingsLoadedMsg { |
| 61 | return postingsLoadedMsg{ |
| 62 | requestID: v.requests.id, |
| 63 | boxID: v.currentBoxID(), |
| 64 | postings: postings, |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | func hasHelpBinding(bindings []helpBinding, key string) bool { |
| 69 | for _, binding := range bindings { |
| 70 | if binding.key == key { |
| 71 | return true |
| 72 | } |
| 73 | } |
| 74 | return false |
| 75 | } |
| 76 | |
| 77 | type recordedMailRequest struct { |
| 78 | method string |
| 79 | path string |
| 80 | requests []string |
nothing calls this directly
no test coverage detected