Skip to content

Commit

Permalink
Minor test snapshot cleanup (#1074)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik authored Dec 16, 2023
1 parent 16fbfa5 commit b77bc89
Show file tree
Hide file tree
Showing 19 changed files with 6 additions and 710 deletions.
8 changes: 6 additions & 2 deletions mbtiles/tests/copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,9 @@ async fn convert(
opt.dst_type_cli = Some(dst_type);
opt.zoom_levels.push(6);
let z6only = dump(&mut opt.run().await?).await?;
assert_snapshot!(z6only, "v1__z6__{frm}-{to}");
allow_duplicates! {
assert_snapshot!(z6only, "v1__z6__{to}");
}

let mut opt = copier(&frm_mbt, &mem);
opt.dst_type_cli = Some(dst_type);
Expand All @@ -271,7 +273,9 @@ async fn convert(
opt.bbox.push(bbox.into());

let dmp = dump(&mut opt.run().await?).await?;
assert_snapshot!(dmp, "v1__bbox__{frm}-{to}");
allow_duplicates! {
assert_snapshot!(dmp, "v1__bbox__{to}");
}

let mut opt = copier(&frm_mbt, &mem);
opt.dst_type_cli = Some(dst_type);
Expand Down
42 changes: 0 additions & 42 deletions mbtiles/tests/snapshots/copy__convert@v1__bbox__hash-flat.snap

This file was deleted.

50 changes: 0 additions & 50 deletions mbtiles/tests/snapshots/copy__convert@v1__bbox__hash-hash.snap

This file was deleted.

85 changes: 0 additions & 85 deletions mbtiles/tests/snapshots/copy__convert@v1__bbox__hash-norm.snap

This file was deleted.

42 changes: 0 additions & 42 deletions mbtiles/tests/snapshots/copy__convert@v1__bbox__norm-flat.snap

This file was deleted.

50 changes: 0 additions & 50 deletions mbtiles/tests/snapshots/copy__convert@v1__bbox__norm-hash.snap

This file was deleted.

85 changes: 0 additions & 85 deletions mbtiles/tests/snapshots/copy__convert@v1__bbox__norm-norm.snap

This file was deleted.

Loading

0 comments on commit b77bc89

Please sign in to comment.