message: explicit drop of dataset before reading metadata
diff: @@ -252,7 +252,8 @@ fn test_create_with_band_type_with_options() {
  ] ;
  - let dataset = driver.create_with_band_type_with_options::<u8>("/tmp/test.tif",
  + let tmp_filename = "/tmp/test.tif";
  + let dataset = driver.create_with_band_type_with_options::<u8>(tmp_filename,
  256,
  256,
  1,
  @@ -263,12 +264,13 @@ fn test_create_with_band_type_with_options() {
  let block_size = rasterband.block_size();
  assert_eq!(block_size, (128,64));
  -
  + drop(dataset);
  + let dataset = Dataset::open(Path::new(tmp_filename)).unwrap();
  let key = "INTERLEAVE";
  let domain = "IMAGE_STRUCTURE";
  let meta = dataset.metadata_item(key, domain);
  assert_eq!(meta, Some(String::from("BAND")));
  - let key = "COMPRESS";
  + let key = "COMPRESSION";
  let domain = "IMAGE_STRUCTURE";
  let meta = dataset.metadata_item(key, domain);
  assert_eq!(meta, Some(String::from("LZW")));
  