Skip to content

Commit

Permalink
Apply lint on extension protos (#334)
Browse files Browse the repository at this point in the history
Apply lint
  • Loading branch information
l46kok authored Jan 10, 2024
1 parent 4f4944a commit 910da5b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion proto/test/v1/proto2/test_all_types_extensions.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ message Proto2ExtensionScopedMessage {
repeated TestAllTypes message_scoped_repeated_test_all_types = 1008;
}
}

20 changes: 10 additions & 10 deletions tests/simple/testdata/proto2_ext.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ section: {
value: {
object_value: {
[type.googleapis.com/google.api.expr.test.v1.proto2.TestAllTypes]: {
[google.api.expr.test.v1.proto2.nested_ext]: { }
[google.api.expr.test.v1.proto2.nested_ext]: {}
}
}
}
Expand All @@ -55,7 +55,7 @@ section: {
value: {
object_value: {
[type.googleapis.com/google.api.expr.test.v1.proto2.TestAllTypes]: {
[google.api.expr.test.v1.proto2.test_all_types_ext]: { }
[google.api.expr.test.v1.proto2.test_all_types_ext]: {}
}
}
}
Expand Down Expand Up @@ -95,7 +95,7 @@ section: {
value: {
object_value: {
[type.googleapis.com/google.api.expr.test.v1.proto2.TestAllTypes]: {
[google.api.expr.test.v1.proto2.repeated_test_all_types]: [{ single_int64: 1 }, { single_bool: true }]
[google.api.expr.test.v1.proto2.repeated_test_all_types]: [ { single_int64: 1 }, { single_bool: true } ]
}
}
}
Expand Down Expand Up @@ -135,7 +135,7 @@ section: {
value: {
object_value: {
[type.googleapis.com/google.api.expr.test.v1.proto2.TestAllTypes]: {
[google.api.expr.test.v1.proto2.Proto2ExtensionScopedMessage.message_scoped_nested_ext]: { }
[google.api.expr.test.v1.proto2.Proto2ExtensionScopedMessage.message_scoped_nested_ext]: {}
}
}
}
Expand Down Expand Up @@ -175,7 +175,7 @@ section: {
value: {
object_value: {
[type.googleapis.com/google.api.expr.test.v1.proto2.TestAllTypes]: {
[google.api.expr.test.v1.proto2.Proto2ExtensionScopedMessage.message_scoped_repeated_test_all_types]: [{ single_int64: 1 }, { single_bool: true }]
[google.api.expr.test.v1.proto2.Proto2ExtensionScopedMessage.message_scoped_repeated_test_all_types]: [ { single_int64: 1 }, { single_bool: true } ]
}
}
}
Expand Down Expand Up @@ -219,7 +219,7 @@ section: {
value: {
object_value: {
[type.googleapis.com/google.api.expr.test.v1.proto2.TestAllTypes]: {
[google.api.expr.test.v1.proto2.nested_ext]: { }
[google.api.expr.test.v1.proto2.nested_ext]: {}
}
}
}
Expand All @@ -239,7 +239,7 @@ section: {
value: {
object_value: {
[type.googleapis.com/google.api.expr.test.v1.proto2.TestAllTypes]: {
[google.api.expr.test.v1.proto2.test_all_types_ext]: { }
[google.api.expr.test.v1.proto2.test_all_types_ext]: {}
}
}
}
Expand Down Expand Up @@ -279,7 +279,7 @@ section: {
value: {
object_value: {
[type.googleapis.com/google.api.expr.test.v1.proto2.TestAllTypes]: {
[google.api.expr.test.v1.proto2.repeated_test_all_types]: [{ single_int64: 1 }, { single_bool: true }]
[google.api.expr.test.v1.proto2.repeated_test_all_types]: [ { single_int64: 1 }, { single_bool: true } ]
}
}
}
Expand Down Expand Up @@ -319,7 +319,7 @@ section: {
value: {
object_value: {
[type.googleapis.com/google.api.expr.test.v1.proto2.TestAllTypes]: {
[google.api.expr.test.v1.proto2.Proto2ExtensionScopedMessage.message_scoped_nested_ext]: { }
[google.api.expr.test.v1.proto2.Proto2ExtensionScopedMessage.message_scoped_nested_ext]: {}
}
}
}
Expand Down Expand Up @@ -359,7 +359,7 @@ section: {
value: {
object_value: {
[type.googleapis.com/google.api.expr.test.v1.proto2.TestAllTypes]: {
[google.api.expr.test.v1.proto2.Proto2ExtensionScopedMessage.message_scoped_repeated_test_all_types]: [{ single_int64: 1 }, { single_bool: true }]
[google.api.expr.test.v1.proto2.Proto2ExtensionScopedMessage.message_scoped_repeated_test_all_types]: [ { single_int64: 1 }, { single_bool: true } ]
}
}
}
Expand Down

0 comments on commit 910da5b

Please sign in to comment.