(t *testing.T)
| 106 | } |
| 107 | |
| 108 | func TestSeenMultiple(t *testing.T) { |
| 109 | server := seenServer(t) |
| 110 | defer server.Close() |
| 111 | |
| 112 | resp, err := runSeen(t, server, "12345", "67890") |
| 113 | if err != nil { |
| 114 | t.Fatalf("execute: %v", err) |
| 115 | } |
| 116 | if resp.Summary != "2 threads marked as seen" { |
| 117 | t.Errorf("summary = %q, want %q", resp.Summary, "2 threads marked as seen") |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | func TestSeenNoArgs(t *testing.T) { |
| 122 | server := seenServer(t) |
nothing calls this directly
no test coverage detected