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;