Add failing test for importing a message from package that looks like a nested type #87
This commit is contained in:
parent
fb54917f2c
commit
34c34bd15a
@ -7,7 +7,8 @@ xfail = {
|
|||||||
"namespace_keywords", # 70
|
"namespace_keywords", # 70
|
||||||
"namespace_builtin_types", # 53
|
"namespace_builtin_types", # 53
|
||||||
"googletypes_struct", # 9
|
"googletypes_struct", # 9
|
||||||
"googletypes_value", # 9
|
"googletypes_value", # 9,
|
||||||
|
"import_capitalized_package",
|
||||||
}
|
}
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
|
||||||
|
package Capitalized;
|
||||||
|
|
||||||
|
message Message {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
import "capitalized.proto";
|
||||||
|
|
||||||
|
// Tests that we can import from a package with a capital name, that looks like a nested type, but isn't.
|
||||||
|
|
||||||
|
message Test {
|
||||||
|
Capitalized.Message message = 1;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user