Skip to content

Commit

Permalink
Remove test failing on GDAL 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola committed Dec 10, 2022
1 parent 51b12c7 commit 07de16b
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/vsi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 07de16b

Please sign in to comment.