Organize test-cases into folders, extract compatibility test into proper test, support adding test-case specific tests
This commit is contained in:
5
betterproto/tests/inputs/ref/ref.json
Normal file
5
betterproto/tests/inputs/ref/ref.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"greeting": {
|
||||
"greeting": "hello"
|
||||
}
|
||||
}
|
||||
9
betterproto/tests/inputs/ref/ref.proto
Normal file
9
betterproto/tests/inputs/ref/ref.proto
Normal file
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package ref;
|
||||
|
||||
import "repeatedmessage.proto";
|
||||
|
||||
message Test {
|
||||
repeatedmessage.Sub greeting = 1;
|
||||
}
|
||||
11
betterproto/tests/inputs/ref/repeatedmessage.proto
Normal file
11
betterproto/tests/inputs/ref/repeatedmessage.proto
Normal file
@@ -0,0 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package repeatedmessage;
|
||||
|
||||
message Test {
|
||||
repeated Sub greetings = 1;
|
||||
}
|
||||
|
||||
message Sub {
|
||||
string greeting = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user