(t *testing.T)
| 155 | } |
| 156 | |
| 157 | func TestUnseenMultiple(t *testing.T) { |
| 158 | server := seenServer(t) |
| 159 | defer server.Close() |
| 160 | |
| 161 | resp, err := runUnseen(t, server, "12345", "67890") |
| 162 | if err != nil { |
| 163 | t.Fatalf("execute: %v", err) |
| 164 | } |
| 165 | if resp.Summary != "2 posting(s) marked as unseen" { |
| 166 | t.Errorf("summary = %q, want %q", resp.Summary, "2 posting(s) marked as unseen") |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | func TestUnseenNoArgs(t *testing.T) { |
| 171 | server := seenServer(t) |
nothing calls this directly
no test coverage detected