Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix an edge case in enum prefix stripping #246

Merged
merged 4 commits into from
May 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
comment
  • Loading branch information
ogolberg committed Apr 10, 2024
commit f65aa268dbe26760a2c72e90cdde7dac1047df91
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class EnumsWithSharedPrefixTest {
AnEnumTypeLowerCase.AN_ENUM_TYPE_LOWER_CASE_FIRST
AnEnumTypeLowerCase.AN_ENUM_TYPE_lower_CASE_SECOND

// not stripped, prefix is not upper case
// not stripped, some enum names are not valid without the prefix
AnEnumTypeInvalidWithoutPrefix.AN_ENUM_TYPE_INVALID_WITHOUT_PREFIX_UNSPECIFIED
AnEnumTypeInvalidWithoutPrefix.AN_ENUM_TYPE_INVALID_WITHOUT_PREFIX_1_FOO
}
Expand Down