fix:#53 added empty events check

This commit is contained in:
Elmar Kresse
2024-04-15 21:44:37 +02:00
parent f92fddb0d2
commit bad94d86fa
2 changed files with 29 additions and 18 deletions

View File

@@ -182,6 +182,13 @@ func TestCombineEventsInFeed(t *testing.T) {
},
},
},
{
name: "NoEventsInFeed",
args: args{
events: model.Events{},
},
want: model.Events{},
},
}
for _, tt := range testCases {
t.Run(tt.name, func(t *testing.T) {