Skip to content

Commit

Permalink
Merge pull request #135 from jish/josh/upgrade_esformatter
Browse files Browse the repository at this point in the history
Upgrade esformatter to `0.5.0`.
  • Loading branch information
jimfleming committed Feb 27, 2015
2 parents 2f0dbac + 2c3d1df commit 12c4202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dependencies": {
"docopt": "~0.4.0",
"escodegen": "~1.3.2",
"esformatter": "~0.4.1",
"esformatter": "~0.5.0",
"esformatter-braces": "~0.1.4",
"esformatter-var-each": "~1.0.0",
"esprima": "ariya/esprima#harmony",
Expand Down
2 changes: 1 addition & 1 deletion tests/format.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ describe('jsfmt.formatJSON', function() {
it('should test formatting json array of objects', function() {
var json = '[{"hello":"world"},{"foo":500.0}]';
var result = jsfmt.formatJSON(json, {});
result.should.eql('[{\n "hello": "world"\n }, {\n "foo": 500.0\n}]');
result.should.eql('[{\n "hello": "world"\n}, {\n "foo": 500.0\n}]');
});
});

0 comments on commit 12c4202

Please sign in to comment.