Skip to content

Commit a9350ed

Browse files
Matthias Weissghostsquad
Matthias Weiss
authored andcommitted
Add test case to check for completeness of roles unmarshal
1 parent c30eba2 commit a9350ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

project_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ func TestProjectService_Get(t *testing.T) {
7777
if err != nil {
7878
t.Errorf("Error given: %s", err)
7979
}
80+
if len(projects.Roles) != 9 {
81+
t.Errorf("Expected 9 roles but got %d", len(projects.Roles))
82+
}
8083
}
8184

8285
func TestProjectService_Get_NoProject(t *testing.T) {

0 commit comments

Comments
 (0)