From 07de16bbfd32ff691e04c1e0c6a6e30766ee2fea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Sat, 10 Dec 2022 19:09:18 +0200 Subject: [PATCH] Remove test failing on GDAL 3.6 --- src/vsi.rs | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/vsi.rs b/src/vsi.rs index df12080c..66e76056 100644 --- a/src/vsi.rs +++ b/src/vsi.rs @@ -290,28 +290,6 @@ mod tests { drop(ref_handle); } - #[test] - fn unable_to_create() { - let file_name = ""; - - assert!(matches!( - create_mem_file(file_name, vec![1_u8, 2, 3, 4]).unwrap_err(), - GdalError::NullPointer { - method_name: "VSIGetMemFileBuffer", - msg, - } - if msg.is_empty() - )); - - assert!(matches!( - unlink_mem_file(file_name).unwrap_err(), - GdalError::UnlinkMemFile { - file_name, - } - if file_name.is_empty() - )); - } - #[test] fn test_vsi_read_dir() { use std::path::Path;