mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-23 04:24:05 +00:00
Add some tests (#3030)
This commit is contained in:
@@ -58,7 +58,7 @@ func sliceToCountMap[E comparable](list []E) map[E]int {
|
||||
return m
|
||||
}
|
||||
|
||||
// sliceToMap is a helper function to convert a string slice to a map.
|
||||
// SliceToBoolMap is a helper function to convert a string slice to a map.
|
||||
func SliceToBoolMap(s []string) map[string]bool {
|
||||
v := map[string]bool{}
|
||||
for _, ss := range s {
|
||||
|
Reference in New Issue
Block a user