Skip to content

Commit dd5a9bc

Browse files
authored
Put a proto package on the test file. (#1813)
This one got overlooked in the past, and the usage isn't about the lack of a proto package in naming, so add one so it is more inline with what is expected from a .proto file style pov.
1 parent e9aba0c commit dd5a9bc

File tree

6 files changed

+155
-149
lines changed

6 files changed

+155
-149
lines changed

Protos/Tests/SwiftProtobufTests/unittest_swift_groups.proto

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@
3030

3131
syntax = "proto2";
3232

33+
package swift_proto_testing;
34+
3335
// Same field number appears inside and outside of the group.
34-
message SwiftTestGroupExtensions {
36+
message GroupExtensions {
3537
optional int32 a = 1;
3638
extensions 2 to 10;
3739
}
3840

39-
extend SwiftTestGroupExtensions {
41+
extend GroupExtensions {
4042
optional group ExtensionGroup = 2 {
4143
optional int32 a = 1;
4244
}
@@ -45,11 +47,11 @@ extend SwiftTestGroupExtensions {
4547
}
4648
}
4749

48-
message SwiftTestGroupUnextended {
50+
message GroupUnextended {
4951
optional int32 a = 1;
5052
}
5153

52-
message SwiftTestNestingGroupsMessage {
54+
message NestingGroupsMessage {
5355
optional int32 outer_a = 1;
5456
optional group SubGroup1 = 2 {
5557
optional int32 sub1_a = 1;

0 commit comments

Comments
 (0)