1
0
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:
Daniel Heath
2018-01-22 21:07:50 +11:00
parent ff420fb81d
commit b4638476cc
327 changed files with 43002 additions and 30657 deletions

View File

@@ -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