Skip to content

Commit

Permalink
Fix typos in enum conformance tests. (google#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
JimLarson authored Nov 12, 2020
1 parent a47b2a1 commit e3dc089
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/simple/testdata/enums.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ section {
test {
name: "convert_int_too_big"
container: "google.api.expr.test.v1.proto2"
expr: "TestAllTypes.NestedEnum(5000000000)}"
expr: "TestAllTypes.NestedEnum(5000000000)"
eval_error {
errors {
message: "range"
Expand All @@ -705,7 +705,7 @@ section {
test {
name: "convert_int_too_neg"
container: "google.api.expr.test.v1.proto2"
expr: "TestAllTypes.NestedEnum(-7000000000)}"
expr: "TestAllTypes.NestedEnum(-7000000000)"
eval_error {
errors {
message: "range"
Expand All @@ -715,7 +715,7 @@ section {
test {
name: "convert_string"
container: "google.api.expr.test.v1.proto2"
expr: "TestAllTypes.NestedEnum('BAZ')}"
expr: "TestAllTypes.NestedEnum('BAZ')"
value {
enum_value {
type: "google.api.expr.test.v1.proto2.TestAllTypes.NestedEnum"
Expand All @@ -726,7 +726,7 @@ section {
test {
name: "convert_string_bad"
container: "google.api.expr.test.v1.proto2"
expr: "TestAllTypes.NestedEnum('BLETCH')}"
expr: "TestAllTypes.NestedEnum('BLETCH')"
eval_error {
errors {
message: "invalid"
Expand Down Expand Up @@ -1033,7 +1033,7 @@ section {
test {
name: "convert_int_too_big"
container: "google.api.expr.test.v1.proto3"
expr: "TestAllTypes.NestedEnum(5000000000)}"
expr: "TestAllTypes.NestedEnum(5000000000)"
eval_error {
errors {
message: "range"
Expand All @@ -1043,7 +1043,7 @@ section {
test {
name: "convert_int_too_neg"
container: "google.api.expr.test.v1.proto3"
expr: "TestAllTypes.NestedEnum(-7000000000)}"
expr: "TestAllTypes.NestedEnum(-7000000000)"
eval_error {
errors {
message: "range"
Expand All @@ -1053,7 +1053,7 @@ section {
test {
name: "convert_string"
container: "google.api.expr.test.v1.proto3"
expr: "TestAllTypes.NestedEnum('BAZ')}"
expr: "TestAllTypes.NestedEnum('BAZ')"
value {
enum_value {
type: "google.api.expr.test.v1.proto3.TestAllTypes.NestedEnum"
Expand All @@ -1064,7 +1064,7 @@ section {
test {
name: "convert_string_bad"
container: "google.api.expr.test.v1.proto3"
expr: "TestAllTypes.NestedEnum('BLETCH')}"
expr: "TestAllTypes.NestedEnum('BLETCH')"
eval_error {
errors {
message: "invalid"
Expand Down

0 comments on commit e3dc089

Please sign in to comment.