log error on test_rename_failure
authorValentine Wallace <vwallace@protonmail.com>
Wed, 17 Feb 2021 18:33:21 +0000 (13:33 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 17 Feb 2021 18:33:21 +0000 (13:33 -0500)
lightning-persister/src/util.rs

index 2b6588869c4da4fbe40a02066744d4beae07e4e0..8f116963e773e9b5a6e396218b4a4f343d5927c5 100644 (file)
@@ -167,6 +167,7 @@ mod tests {
                fs::create_dir_all(get_full_filepath(path.to_string(), filename.to_string())).unwrap();
                match write_to_file(path.to_string(), filename.to_string(), &test_writeable) {
                        Err(e) => {
+                               println!("VMW: error in test_rename_failure: {:?}", e);
                                #[cfg(not(target_os = "windows"))]
                                assert_eq!(e.kind(), io::ErrorKind::Other);
                                #[cfg(target_os = "windows")]