We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae7c130 commit 449dfa5Copy full SHA for 449dfa5
coderd/rbac/object_test.go
@@ -178,6 +178,8 @@ func TestObjectEqual(t *testing.T) {
178
179
// TestAllResources ensures that all resources have a unique type name.
180
func TestAllResources(t *testing.T) {
181
+ t.Parallel()
182
+
183
var typeNames []string
184
resources := rbac.AllResources()
185
for _, r := range resources {
scripts/rbacgen/main.go
@@ -84,7 +84,6 @@ func allResources(pkg *packages.Package) []string {
84
if ok && obj.Type().String() == "github.com/coder/coder/coderd/rbac.Object" {
85
resources = append(resources, obj.Name())
86
}
87
-
88
89
sort.Strings(resources)
90
return resources
0 commit comments