Skip to content

Commit

Permalink
Update the test
Browse files Browse the repository at this point in the history
  • Loading branch information
PieterWigboldus committed Sep 7, 2017
1 parent 6192cd3 commit b124e4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('ppt-png', function() {
logLevel: 3,
fileNameFormat: '_vers_%d',
callback: function(data) {
if(data.failed.length > 0) {
if(data.failed.length > 0 || data.success.length < 1) {
done(data.failed);
} else {
done();
Expand All @@ -39,7 +39,7 @@ describe('ppt-png', function() {
})
.wait()
.then(function(data) {
if(data.failed.length > 0) {
if(data.failed.length > 0 || data.success.length < 1) {
done(data.failed);
} else {
done();
Expand All @@ -65,7 +65,7 @@ describe('ppt-png', function() {
})
.wait()
.then(function(data) {
if(data.failed.length > 0) {
if(data.failed.length > 0 || data.success.length < 1) {
done();
} else {
done('error');
Expand Down

0 comments on commit b124e4b

Please sign in to comment.