Rename uppercase_first_letter to capitalize

Also rename `lowercase_first_letter` to `decapitalize`

PiperOrigin-RevId: 834622292
Change-Id: I1cfbda1be782ff40dd3fc0726601cc6b1f427345
This commit is contained in:
Matija Kecman
2025-11-19 23:53:00 -08:00
committed by Copybara-Service
parent 48ecddbe3b
commit 102f382c9d
5 changed files with 32 additions and 45 deletions
+2 -2
View File
@@ -117,11 +117,11 @@ class BindingCoverageTest(absltest.TestCase):
"""Asserts that each struct is either not bound or bound in structs.cc."""
bound_structs = _get_bound_structs_from_cc()
all_structs = {
common.uppercase_first_letter(struct_name)
common.capitalize(struct_name)
for struct_name in introspect_structs.STRUCTS.keys()
}
skipped_structs = {
common.uppercase_first_letter(struct_name)
common.capitalize(struct_name)
for struct_name in constants.SKIPPED_STRUCTS
}
missing_structs = []