Skip to content

Commit

Permalink
we now allow level 0 (no compression) too
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaefer committed Mar 2, 2013
1 parent 7de42ee commit 7b2ccaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/blend-error-handling.test.js
Expand Up @@ -87,7 +87,7 @@ describe('invalid arguments', function() {
], {
compression:10
}, function() {});
}, /Compression level must be between 1 and 9/);
}, /Compression level must be between 0 and 9/);
});

it('should not allow compression level above what miniz supports', function() {
Expand All @@ -99,7 +99,7 @@ describe('invalid arguments', function() {
compression:11,
encoder:'miniz'
}, function() {});
}, /Compression level must be between 1 and 10/);
}, /Compression level must be between 0 and 10/);
});

it('should not allow negative image dimensions', function() {
Expand Down

0 comments on commit 7b2ccaa

Please sign in to comment.