Skip to content

Commit

Permalink
Merge #350
Browse files Browse the repository at this point in the history
350: Remove test failing on GDAL 3.6 r=metasim a=lnicola

- [x] I agree to follow the project's [code of conduct](https://github.com/georust/gdal/blob/master/CODE_OF_CONDUCT.md).
- [x] I added an entry to `CHANGES.md` if knowledge of this change could be valuable to users.
---



Co-authored-by: Laurențiu Nicola <[email protected]>
  • Loading branch information
bors[bot] and lnicola authored Dec 11, 2022
2 parents 51b12c7 + 07de16b commit 548cd33
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 548cd33

Please sign in to comment.