forked from TrueCloudLab/rclone
vendor: update all dependencies to latest versions
This commit is contained in:
parent
8e83fb6fb9
commit
7d3a17725d
4878 changed files with 1974229 additions and 201215 deletions
14
vendor/github.com/pengsrc/go-shared/convert/string_test.go
generated
vendored
Normal file
14
vendor/github.com/pengsrc/go-shared/convert/string_test.go
generated
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
package convert
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestStringSliceWithConverter(t *testing.T) {
|
||||
s := StringSliceWithConverter([]string{"A", "b", "C"}, strings.ToLower)
|
||||
e := []string{"a", "b", "c"}
|
||||
if s[0] != e[0] || s[1] != e[1] || s[2] != e[2] {
|
||||
t.Errorf("%v != %v", s, e)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue