Simplify standard tests by using 1 json per case.

This commit is contained in:
boukeversteegh
2020-05-22 20:58:14 +02:00
parent dd4873dfba
commit dfa0a56b39
7 changed files with 19 additions and 14 deletions

View File

@@ -1,4 +0,0 @@
{
"signed_32": -150,
"signed_64": "-150"
}

View File

@@ -1,4 +1,6 @@
{
"signed_32": 150,
"signed_64": "150"
"signed32": 150,
"negative32": -150,
"string64": "150",
"negative64": "-150"
}

View File

@@ -1,6 +1,9 @@
syntax = "proto3";
message Test {
sint32 signed_32 = 1;
sint64 signed_64 = 2;
// todo: rename fields after fixing bug where 'signed_32_positive' will map to 'signed_32Positive' as output json
sint32 signed32 = 1; // signed_32_positive
sint32 negative32 = 2; // signed_32_negative
sint64 string64 = 3; // signed_64_positive
sint64 negative64 = 4; // signed_64_negative
}