Add basic oneof tests

This commit is contained in:
Daniel G. Taylor
2019-10-20 22:49:53 -07:00
parent a33d92d89d
commit cfedcab5ab
4 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
{
"name": "foo"
}

View File

@@ -0,0 +1,3 @@
{
"count": 1
}

View File

@@ -0,0 +1,8 @@
syntax = "proto3";
message Test {
oneof foo {
int32 count = 1;
string name = 2;
}
}