Use ol.base.checkKeys to check keys

This commit is contained in:
Tom Payne
2012-06-22 11:52:00 +02:00
parent afd6369da7
commit 3e15ce93bb
6 changed files with 19 additions and 17 deletions

View File

@@ -27,5 +27,16 @@ describe("ol.bounds", function() {
});
it("raises an error on invalid keys", function() {
expect(function() {
ol.bounds({
minX: 9,
minY: 10,
maxX: 11,
maxWhy: 12
});
}).toThrow();
});
});