Skip to content

Commit

Permalink
Add regression test for #86
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhickman committed Sep 9, 2024
1 parent 4bf37a7 commit 8a02bc8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions protox/tests/compare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ compare!(oneof_group_field);
compare!(service);
compare!(option_group_field);
compare!(message_name_field_name_conflict);
compare!(package_name_field_name_conflict);

#[test]
fn google_protobuf_any() {
Expand Down
10 changes: 10 additions & 0 deletions protox/tests/data/package_name_field_name_conflict.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Regression test for https://github.com/andrewhickman/protox/issues/86
syntax = "proto3";

package sample;

import "include/package.proto";

message Sample {
foo.Foo foo = 2;
}

0 comments on commit 8a02bc8

Please sign in to comment.