Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix sync tests

  • Loading branch information...
commit 6a8d02b6bf43f50efb62d004722f6fdc3602e6ae 1 parent cf15211
@scttnlsn authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 test/sync_test.js
View
6 test/sync_test.js
@@ -61,8 +61,10 @@ describe('Sync', function() {
var result = call.args[1];
assert.ok(callback.called);
- assert.equal(err.error, 'Error');
- assert.equal(err.message, 'bar');
+ assert.ok(err);
+ assert.ok(err.error);
+ assert.equal(err.error.name, 'Error');
+ assert.equal(err.error.message, 'bar');
assert.equal(result, undefined);
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.