Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklodder committed Dec 20, 2014
1 parent cf6769f commit 081d800
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions test/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ spec.addBatch({
client.withdraw_from_address({
from_addresses: cache('fromAddress'),
payment_address: cache('newAddress'),
amount: genericHelpers.calcWithdrawalAmount(),
amount: genericHelpers.calcWithdrawalAmount()
}, this.callback);
},
"must return an error": function (err, res) {
if (process.env.DEBUG && !(err instanceof Error)) console.log(err, res)
if (process.env.DEBUG && !(err instanceof Error)) console.log(err, res);
assert.instanceOf(err, Error);
}
}
Expand All @@ -222,14 +222,14 @@ if (VERSION > 1) spec.addBatch({
{
from_labels: cache.lazy('fromLabel'),
payment_address: cache.lazy('newAddress'),
amount: genericHelpers.calcWithdrawalAmount,
amount: genericHelpers.calcWithdrawalAmount
},
{
"must return a transaction to sign": function (err, res, r) {
assert.isObject(res);
assert.isObject(res.data);
assert.isString(res.data.reference_id)
assert.isObject(res.data.encrypted_passphrase)
assert.isString(res.data.reference_id);
assert.isObject(res.data.encrypted_passphrase);
assert.isArray(res.data.inputs);
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/key.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ vows.describe("Block IO ECKey Additions").addBatch({
},
"must return the correct public key": function (k) {
assert.strictEqual(k.pub.toHex(),'029023d9738c623cdd7e5fdd0f41666accb82f21df5d27dc5ef07040f7bdc5d9f5');
},
}
}
}
}).export(module);

0 comments on commit 081d800

Please sign in to comment.