- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for extractPathPrefixAndSuffix (0.1 seconds)
-
cmd/iam-etcd-store_test.go
{"config/iam/groups/foo/config.json", "config/iam/groups/", "/config.json", "foo"}, {"config/iam/groups/foo/config.json", "config/iam/groups/", "config.json", "foo"}, } for i, test := range specs { result := extractPathPrefixAndSuffix(test.path, test.prefix, test.suffix) if result != test.expected { t.Errorf("unexpected result on test[%v]: expected[%s] but had [%s]", i, test.expected, result) } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 1.5K bytes - Click Count (0)