diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-02-03 14:38:35 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-02-03 14:54:58 +0100 |
commit | 1ea12aa2dfbfcb27ef102ec8a001a3a05175004f (patch) | |
tree | 378b003ed04262a957238929501ea645adab9d64 /tests/tests.rs | |
parent | 892e2ec117f817d5a439dfb39104b2be4678cd0b (diff) |
ir: Ignore constructors with bogus spellings.
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> { |