Organize test-cases into folders, extract compatibility test into proper test, support adding test-case specific tests
This commit is contained in:
4
betterproto/tests/inputs/casing/casing.json
Normal file
4
betterproto/tests/inputs/casing/casing.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"camelCase": 1,
|
||||
"snakeCase": "ONE"
|
||||
}
|
||||
17
betterproto/tests/inputs/casing/casing.proto
Normal file
17
betterproto/tests/inputs/casing/casing.proto
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
|
||||
enum my_enum {
|
||||
ZERO = 0;
|
||||
ONE = 1;
|
||||
TWO = 2;
|
||||
}
|
||||
|
||||
message Test {
|
||||
int32 camelCase = 1;
|
||||
my_enum snake_case = 2;
|
||||
snake_case_message snake_case_message = 3;
|
||||
}
|
||||
|
||||
message snake_case_message {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user