Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c7dc715

Browse files
committed
fixup! Add more tabled tests
1 parent 3ac2eaa commit c7dc715

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/authz/authz_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ func TestAuthorizeLevels(t *testing.T) {
503503
}))
504504
}
505505

506+
// cases applies a given function to all test cases. This makes generalities easier to create.
506507
func cases(opt func(c authTestCase) authTestCase, cases []authTestCase) []authTestCase {
507508
if opt == nil {
508509
return cases

0 commit comments

Comments
 (0)