diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-04-19 20:03:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-19 20:03:34 -0700 |
commit | 7be088202bad3a89498db2e9b19afda9f3929430 (patch) | |
tree | b3c027b951251e4e80d173acf0655a3c333ceb24 /php/tests/proto/test_no_namespace.proto | |
parent | 190b5270c8717ca343db42da489e5e7d6d9efb2c (diff) |
Enum defined without package have incorrect class name. (#2988)
Fix the bug by sharing the code for generating class name for both
message and enum.
Diffstat (limited to 'php/tests/proto/test_no_namespace.proto')
-rw-r--r-- | php/tests/proto/test_no_namespace.proto | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php/tests/proto/test_no_namespace.proto b/php/tests/proto/test_no_namespace.proto index b8c4fdf2..b0f66002 100644 --- a/php/tests/proto/test_no_namespace.proto +++ b/php/tests/proto/test_no_namespace.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -message NoNameSpaceMessage { +message NoNamespaceMessage { int32 a = 1; } -enum NoNameSpaceEnum { +enum NoNamespaceEnum { VALUE_A = 0; VALUE_B = 1; } |