test: add group selection test

This commit is contained in:
Slug-Boi
2024-11-12 21:50:30 +01:00
parent d7f279b0b3
commit 8af4f521ef
3 changed files with 71 additions and 30 deletions
+2
View File
@@ -20,6 +20,8 @@ var Groups = map[string][]User{}
func Define_users(author_file string) {
// wipe the users map
Users = map[string]User{}
DefExclude = []string{}
Groups = map[string][]User{}
file, err := os.Open(author_file)
if err != nil {