Skip to content

Commit

Permalink
arrowfied function in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vinniegarcia committed Dec 16, 2015
1 parent e12fb92 commit 20c1d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/crypto.es6
Expand Up @@ -17,7 +17,7 @@ describe(h1('crypto tests where no callbacks makes a method sync'), () => {
it(cool('returns promise (async), not a sync buffer'), (done) => {
const futureBiff = Proposal(crypto.randomBytes, 512);
ok(futureBiff instanceof Promise && !(futureBiff instanceof Buffer));
futureBiff.then(function (biff) {
futureBiff.then((biff) => {
ok(biff instanceof Buffer);
done();
})
Expand Down

0 comments on commit 20c1d23

Please sign in to comment.