From 886578619faf7f295b362b9043d994ec1477d9bd Mon Sep 17 00:00:00 2001 From: sharkAndshark Date: Sun, 12 Nov 2023 22:37:12 +0800 Subject: [PATCH] Make table title upcase --- mbtiles/src/mbtiles.rs | 2 +- tests/expected/mbtiles/stats.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mbtiles/src/mbtiles.rs b/mbtiles/src/mbtiles.rs index 584bf5452..9eac3eadd 100644 --- a/mbtiles/src/mbtiles.rs +++ b/mbtiles/src/mbtiles.rs @@ -78,7 +78,7 @@ impl Display for Statistics { writeln!( f, "|{:^9}|{:^9}|{:^9}|{:^9}|{:^9}|{:^9}|", - "zoom", "count", "smallest", "largest", "average", "bbox" + "Zoom", "Count", "Smallest", "Largest", "Average", "BBox" ) .unwrap(); diff --git a/tests/expected/mbtiles/stats.txt b/tests/expected/mbtiles/stats.txt index 652223d77..b100785b8 100644 --- a/tests/expected/mbtiles/stats.txt +++ b/tests/expected/mbtiles/stats.txt @@ -2,7 +2,7 @@ File: ./tests/fixtures/mbtiles/world_cities.mbtiles FileSize: 48.00KiB Schema: flat Page size: 4.00KiB -| zoom | count |smallest | largest | average | bbox | +| Zoom | Count |Smallest | Largest | Average | BBox | | 0| 1| 1.08KiB| 1.08KiB| 1.08KiB|-179.99999997494382,-85.05112877764508,180.00000015460688,85.05112879314403| | 1| 4| 160B| 650B| 366B|-179.99999997494382,-85.05112877764508,180.00000015460688,85.05112879314403| | 2| 7| 137B| 495B| 239B|-179.99999997494382,-66.51326042021836,180.00000015460688,66.51326049182072|