mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Update all dependencies to latest
This commit is contained in:
5
vendor/github.com/shurcooL/graphql/ident/ident_test.go
generated
vendored
5
vendor/github.com/shurcooL/graphql/ident/ident_test.go
generated
vendored
@@ -81,13 +81,14 @@ func TestParseScreamingSnakeCase(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestWords_ToMixedCaps(t *testing.T) {
|
||||
func TestName_ToMixedCaps(t *testing.T) {
|
||||
tests := []struct {
|
||||
in ident.Name
|
||||
want string
|
||||
}{
|
||||
{in: ident.Name{"client", "Mutation", "Id"}, want: "ClientMutationID"},
|
||||
{in: ident.Name{"CLIENT", "MUTATION", "ID"}, want: "ClientMutationID"},
|
||||
{in: ident.Name{"github", "logo"}, want: "GitHubLogo"},
|
||||
}
|
||||
for _, tc := range tests {
|
||||
got := tc.in.ToMixedCaps()
|
||||
@@ -97,7 +98,7 @@ func TestWords_ToMixedCaps(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestWords_ToLowerCamelCase(t *testing.T) {
|
||||
func TestName_ToLowerCamelCase(t *testing.T) {
|
||||
tests := []struct {
|
||||
in ident.Name
|
||||
want string
|
||||
|
||||
Reference in New Issue
Block a user