diff options
Diffstat (limited to 'tests/tests.rs')
-rw-r--r-- | tests/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.rs b/tests/tests.rs index 93b8971b..0966f877 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -207,7 +207,7 @@ fn compare_generated_header( expectation_file.write_all(actual.as_bytes())?; } - Err(Error::new(ErrorKind::Other, "Header and binding differ!")) + Err(Error::new(ErrorKind::Other, "Header and binding differ! Run with BINDGEN_OVERWRITE_EXPECTED=1 in the environment to automatically overwrite the expectation.")) } fn create_bindgen_builder(header: &PathBuf) -> Result<Option<Builder>, Error> { |