Skip to content

Commit

Permalink
Can use deepEqual now after concordance patch
Browse files Browse the repository at this point in the history
  • Loading branch information
atesgoral committed Nov 20, 2017
1 parent 892ddec commit d1cf921
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/index.js
Expand Up @@ -461,9 +461,7 @@ test('toTree: encoding NULL', (t) => {
value: Buffer.from([])
};

// @todo deepEqual causes an offset error
// t.deepEqual(asn1Mapper.toTree(mapped, definition), tree);
t.is(JSON.stringify(asn1Mapper.toTree(mapped, definition)), JSON.stringify(tree));
t.deepEqual(asn1Mapper.toTree(mapped, definition), tree);
});

test('toTree: encoding NULL with non-truthy value', (t) => {
Expand Down

0 comments on commit d1cf921

Please sign in to comment.