Skip to content

Commit

Permalink
update deltachat/event_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Oct 27, 2023
1 parent afe32ec commit 8bb89a9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deltachat/event_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ func TestEvent(t *testing.T) {
func TestEvent_toEvent(t *testing.T) {
t.Parallel()

(&_EventData{Type: eventTypeImapMessageDeleted, Msg: "test"}).ToEvent()
(&_EventData{Type: eventTypeImapInboxIdle}).ToEvent()
(&_EventData{Type: eventTypeNewBlobFile, File: "test.jpg"}).ToEvent()
(&_EventData{Type: eventTypeDeletedBlobFile, File: "test.jpg"}).ToEvent()
(&_EventData{Type: eventTypeError, Msg: "test"}).ToEvent()
(&_EventData{Type: eventTypeMsgFailed, ChatId: 0, MsgId: 0}).ToEvent()
(&_EventData{Kind: eventTypeImapMessageDeleted, Msg: "test"}).ToEvent()
(&_EventData{Kind: eventTypeImapInboxIdle}).ToEvent()
(&_EventData{Kind: eventTypeNewBlobFile, File: "test.jpg"}).ToEvent()
(&_EventData{Kind: eventTypeDeletedBlobFile, File: "test.jpg"}).ToEvent()
(&_EventData{Kind: eventTypeError, Msg: "test"}).ToEvent()
(&_EventData{Kind: eventTypeMsgFailed, ChatId: 0, MsgId: 0}).ToEvent()
}

0 comments on commit 8bb89a9

Please sign in to comment.