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#57
- Loading branch information
1 parent
ec5683e
commit 15af436
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
betterproto/tests/inputs/import_child_package_from_root/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,7 @@ | ||
syntax = "proto3"; | ||
|
||
package childpackage; | ||
|
||
message Message { | ||
|
||
} |
9 changes: 9 additions & 0 deletions
9
betterproto/tests/inputs/import_child_package_from_root/import_child_package_from_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,9 @@ | ||
syntax = "proto3"; | ||
|
||
import "child.proto"; | ||
|
||
// Tests generated imports when a message in root refers to a message in a child package. | ||
|
||
message Test { | ||
childpackage.Message child = 1; | ||
} |