Use ol.base.checkKeys to check keys

This commit is contained in:
Tom Payne committed 2012-06-22 11:58:03 +02:00
1 parent afd6369da7
commit 3e15ce93bb
6 files changed
+19 -17

No files matched your search

+11
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();
});
});