Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da9e3e54cb |
@@ -64,7 +64,7 @@ func TestPartEvent(t *testing.T) {
|
||||
wantLines int
|
||||
wantUnread int
|
||||
}{
|
||||
{name: "own part", from: "alice", wantLines: 0, wantUnread: 0},
|
||||
{name: "own part", from: "erin", wantLines: 0, wantUnread: 0},
|
||||
{name: "other member", from: "bob", wantLines: 1, wantUnread: 1},
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ func TestPartEvent(t *testing.T) {
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
app := &App{ui: NewUI(), nick: "alice"}
|
||||
app := &App{ui: NewUI(), nick: "erin"}
|
||||
runUI(t, app.ui)
|
||||
|
||||
app.handleServerMessage(&api.Message{
|
||||
|
||||
Reference in New Issue
Block a user