Skip to content

Commit

Permalink
Try to fix libclang-5 tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Oct 5, 2022
1 parent 0645418 commit eb93b09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/tests.rs
Expand Up @@ -251,7 +251,7 @@ fn compare_generated_header(
let actual = bindings.to_string();
rustfmt(actual)
}
Err(_) => ("<error generating bindings>".to_string(), "".to_string()),
Err(_) => ("/* error generating bindings */\n".into(), "".to_string()),
};
println!("{}", rustfmt_stderr);

Expand Down

0 comments on commit eb93b09

Please sign in to comment.