(t *testing.T)
| 62 | } |
| 63 | |
| 64 | func TestParseAllowListLimit(t *testing.T) { |
| 65 | t.Parallel() |
| 66 | inputs := make([]string, 0, 130) |
| 67 | for range 130 { |
| 68 | inputs = append(inputs, "workspace:"+uuid.New().String()) |
| 69 | } |
| 70 | _, err := rbac.ParseAllowList(inputs, 128) |
| 71 | require.Error(t, err) |
| 72 | } |
| 73 | |
| 74 | func TestIntersectAllowLists(t *testing.T) { |
| 75 | t.Parallel() |
nothing calls this directly
no test coverage detected