Skip to content

Commit

Permalink
test: beautify both expected & actual
Browse files Browse the repository at this point in the history
  • Loading branch information
kesla committed Jul 3, 2015
1 parent b10fd3d commit f7f9a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fs.readdirSync(__dirname + '/templates')
var locals = getLocals(name);
var expected = getExpected(name, locals);
t.equal(
runInHandlebars(name, locals, { pretty: true}),
beautify(runInHandlebars(name, locals), { indent_size: 2}),
beautify(expected, { indent_size: 2 })
);
t.end();
Expand Down

0 comments on commit f7f9a06

Please sign in to comment.