Skip to content

Commit 7f9b195

Browse files
committed
update tests
1 parent 21b26d6 commit 7f9b195

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/unit/ui/map.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -807,14 +807,14 @@ test('Map', (t) => {
807807
t.test('throw on maxZoom smaller than minZoom at init', (t) => {
808808
t.throws(() => {
809809
createMap(t, {minZoom:10, maxZoom:5});
810-
}, new Error(`maxZoom must be greater than minZoom`));
810+
}, new Error(`maxZoom must be greater than or equal to minZoom`));
811811
t.end();
812812
});
813813

814814
t.test('throw on maxZoom smaller than minZoom at init with falsey maxZoom', (t) => {
815815
t.throws(() => {
816816
createMap(t, {minZoom:1, maxZoom:0});
817-
}, new Error(`maxZoom must be greater than minZoom`));
817+
}, new Error(`maxZoom must be greater than or equal to minZoom`));
818818
t.end();
819819
});
820820

0 commit comments

Comments
 (0)