diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/expectations/struct_with_anon_struct_array_float.rs | 1 | ||||
-rw-r--r-- | tests/tests.rs | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/expectations/struct_with_anon_struct_array_float.rs b/tests/expectations/struct_with_anon_struct_array_float.rs index e69de29b..8b137891 100644 --- a/tests/expectations/struct_with_anon_struct_array_float.rs +++ b/tests/expectations/struct_with_anon_struct_array_float.rs @@ -0,0 +1 @@ + diff --git a/tests/tests.rs b/tests/tests.rs index 36c872dc..5b12861f 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -256,6 +256,9 @@ fn create_bindgen_builder(header: &PathBuf) -> Result<Option<Builder>, Error> { let prepend = [ "bindgen", + // We format in `compare_generated_header` ourselves to have a little + // more control. + "--no-rustfmt-bindings", "--with-derive-default", header_str, "--raw-line", |