Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Audun Skaugen committed Aug 31, 2023
1 parent 35db86a commit 5737b0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn main() {
config.field_attribute("Foo.Custom.Attrs.AnotherEnum.D", "/// The D docs");
config.field_attribute("Foo.Custom.Attrs.Msg.field.a", "/// Oneof A docs");
config.field_attribute("Foo.Custom.Attrs.Msg.field.b", "/// Oneof B docs");
config.skip_debug(["custom_debug"]);
config.skip_debug(["custom_debug.Msg"]);

config.file_descriptor_set_path(
PathBuf::from(env::var("OUT_DIR").expect("OUT_DIR environment variable not set"))
Expand Down
2 changes: 1 addition & 1 deletion tests/src/skip_debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ fn test_proto_msg_custom_debug() {
let msg = Msg {
a: 0,
b: "".to_string(),
c: Some(msg::c::D(0)),
c: Some(msg::C::D(0)),
};
assert_eq!(format!("{:?}", msg), "Msg {..}");
}

0 comments on commit 5737b0c

Please sign in to comment.