Skip to content

Commit 3048bfc

Browse files
committed
Try to fix libclang-5 tests.
1 parent c3db283 commit 3048bfc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bindgen-tests/tests/expectations/tests/libclang-5/inline_namespace_nested.rs

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ fn compare_generated_header(
252252
let actual = bindings.to_string();
253253
rustfmt(actual)
254254
}
255-
Err(_) => ("<error generating bindings>".to_string(), "".to_string()),
255+
Err(_) => ("/* error generating bindings */\n".into(), "".to_string()),
256256
};
257257
println!("{}", rustfmt_stderr);
258258

0 commit comments

Comments
 (0)