Skip to content

Commit

Permalink
Fix lint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry committed Jun 16, 2016
1 parent a442ee9 commit 6c638ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions functions/ocr/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ exports.processImage = function processImage (context, data) {
console.error(err);
return context.failure(err.message);
}
}
};
// [END ocr_process]

// [START ocr_translate]
Expand Down Expand Up @@ -221,7 +221,7 @@ exports.translateText = function translateText (context, data) {
console.error(err);
return context.failure(err.message);
}
}
};
// [END ocr_translate]

// [START ocr_save]
Expand Down Expand Up @@ -272,5 +272,5 @@ exports.saveResult = function saveResult (context, data) {
console.error(err);
return context.failure(err.message);
}
}
};
// [END ocr_save]
3 changes: 0 additions & 3 deletions test/functions/ocr.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ test.cb('translateText handles publish error', function (t) {
});

test.cb('translateText translates and publishes text', function (t) {
var expectedMsg = 'error';
var context = {
success: function () {
t.is(context.success.called, true);
Expand Down Expand Up @@ -398,7 +397,6 @@ test.cb('saveResult handles save error', function (t) {
});

test.cb('saveResult translates and publishes text', function (t) {
var expectedMsg = 'error';
var context = {
success: function () {
t.is(context.success.called, true);
Expand All @@ -421,7 +419,6 @@ test.cb('saveResult translates and publishes text', function (t) {
});

test.cb('saveResult translates and publishes text with dot in filename', function (t) {
var expectedMsg = 'error';
var context = {
success: function () {
t.is(context.success.called, true);
Expand Down

0 comments on commit 6c638ac

Please sign in to comment.