Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply lint on extension protos #334

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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