forked from danielgtaylor/python-betterproto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test case for issue danielgtaylor#60
- Loading branch information
1 parent
ca20069
commit cdf7645
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
betterproto/tests/inputs/import_root_package_from_child/import_root_package_from_child.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
syntax = "proto3"; | ||
|
||
import "root.proto"; | ||
|
||
package child; | ||
|
||
// Tests generated imports when a message inside a child-package refers to a message defined in the root. | ||
|
||
message Test { | ||
RootMessage message = 1; | ||
} |
5 changes: 5 additions & 0 deletions
5
betterproto/tests/inputs/import_root_package_from_child/root.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
syntax = "proto3"; | ||
|
||
|
||
message RootMessage { | ||
} |