Skip to content

Commit

Permalink
Compare strings and not buffer as [email protected] does not benefit of `Bu…
Browse files Browse the repository at this point in the history
…ffer.equals`
  • Loading branch information
oncletom committed Sep 22, 2016
1 parent 8b01781 commit 0bb5549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test('it should pack the test extension', function(t){

var xmlBuffer = crx.generateUpdateXML();

t.true(xmlBuffer.equals(updateXml));
t.equals(xmlBuffer.toString(), updateXml.toString());
})
.then(t.pass.bind(t))
.catch(t.error.bind(t));
Expand Down

0 comments on commit 0bb5549

Please sign in to comment.