Browse files

fix mapnik version check in grid_view pixel value test

  • Loading branch information...
1 parent d907f4b commit 67db9f890de6cc60a96dab4fdec027eba47ef8ae @springmeyer springmeyer committed Jul 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/grid_view.test.js
View
2 test/grid_view.test.js
@@ -19,7 +19,7 @@ describe('mapnik.GridView ', function() {
it('should have zero value for pixel', function() {
var pixel = view.getPixel(0, 0);
- if (mapnik.versions.mapnik_number <= 200100) {
+ if (mapnik.versions.mapnik_number < 200100) {
assert.equal(pixel, 0);
} else {
assert.equal(pixel, -2147483648);

0 comments on commit 67db9f8

Please sign in to comment.