Update go dependencies
This commit is contained in:
parent
a858c549d9
commit
f3bde94d68
643 changed files with 14296 additions and 19354 deletions
11
vendor/github.com/go-openapi/swag/util_test.go
generated
vendored
11
vendor/github.com/go-openapi/swag/util_test.go
generated
vendored
|
|
@ -39,6 +39,7 @@ func TestToGoName(t *testing.T) {
|
|||
{"findThingById", "FindThingByID"},
|
||||
{"日本語sample 2 Text", "X日本語sample2Text"},
|
||||
{"日本語findThingById", "X日本語findThingByID"},
|
||||
{"findTHINGSbyID", "FindTHINGSbyID"},
|
||||
}
|
||||
|
||||
for k := range commonInitialisms {
|
||||
|
|
@ -122,8 +123,16 @@ func TestToFileName(t *testing.T) {
|
|||
samples := []translationSample{
|
||||
{"SampleText", "sample_text"},
|
||||
{"FindThingByID", "find_thing_by_id"},
|
||||
{"CAPWD.folwdBYlc", "capwd_folwd_bylc"},
|
||||
{"CAPWDfolwdBYlc", "capwdfolwd_bylc"},
|
||||
{"CAP_WD_folwdBYlc", "cap_wd_folwd_bylc"},
|
||||
{"TypeOAI_alias", "type_oai_alias"},
|
||||
{"Type_OAI_alias", "type_oai_alias"},
|
||||
{"Type_OAIAlias", "type_oai_alias"},
|
||||
{"ELB.HTTPLoadBalancer", "elb_http_load_balancer"},
|
||||
{"elbHTTPLoadBalancer", "elb_http_load_balancer"},
|
||||
{"ELBHTTPLoadBalancer", "elb_http_load_balancer"},
|
||||
}
|
||||
|
||||
for k := range commonInitialisms {
|
||||
samples = append(samples,
|
||||
translationSample{"Sample" + k + "Text", "sample_" + lower(k) + "_text"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue