mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-23 22:40:39 +02:00
test: fix duplicate subtest names in permissions_test.go
Rename duplicate 'combined * and ?' test cases to include singular/plural suffix for clarity and to support targeted test runs.
This commit is contained in:
1 parent
c106532b79
commit
d399113e0c
1 file changed
+2
-2
@@ -32,8 +32,8 @@ func TestMatchesActionPattern(t *testing.T) {
|
||||
{"question mark no match", "GetTable?", "GetTableXY", false},
|
||||
|
||||
// Combined wildcards
|
||||
{"combined * and ?", "s3tables:Get?able*", "s3tables:GetTable", true},
|
||||
{"combined * and ?", "s3tables:Get?able*", "s3tables:GetTables", true},
|
||||
{"combined * and ? singular", "s3tables:Get?able*", "s3tables:GetTable", true},
|
||||
{"combined * and ? plural", "s3tables:Get?able*", "s3tables:GetTables", true},
|
||||
{"combined no match - ? needs 1 char", "s3tables:Get?able*", "s3tables:Getable", false},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user