fix(key): Revert support for ( and ) as name/group, as they already worked before (#1356)
Relevant: #1340
This commit is contained in:
@@ -32,12 +32,12 @@ func TestConvertGroupAndNameToKey(t *testing.T) {
|
||||
{
|
||||
GroupName: "API (v1)",
|
||||
Name: "endpoint",
|
||||
ExpectedOutput: "api--v1-_endpoint",
|
||||
ExpectedOutput: "api-(v1)_endpoint",
|
||||
},
|
||||
{
|
||||
GroupName: "website (admin)",
|
||||
Name: "test",
|
||||
ExpectedOutput: "website--admin-_test",
|
||||
ExpectedOutput: "website-(admin)_test",
|
||||
},
|
||||
{
|
||||
GroupName: "search",
|
||||
|
||||
Reference in New Issue
Block a user