test: create tests for the util functions

This commit is contained in:
Theis
2024-10-16 20:47:35 +02:00
parent 5cfa40876b
commit 87a6de6b6f
7 changed files with 130 additions and 10 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ func add_x_users(excludeMode []string) {
}
}
// helper function to select a group of users to exclude in the commit message
// helper function to select groups of users to exclude in the commit message
func group_selection(group []User, excludeMode []string) []string {
for _, user := range Users {
if !(slices.Contains(group, user)) {