Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

output both path to json mismatches to make debugging test failures e…

…asier
  • Loading branch information...
commit 8efc1c5d5eb915041fa169ae72d1537cc677efc9 1 parent e8566e8
@springmeyer springmeyer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/rendering.test.js
View
2  test/rendering.test.js
@@ -43,7 +43,7 @@ helper.files('rendering', 'mml', function(file) {
*/
fs.writeFileSync(actual,JSON.stringify(actual_json,null,4));
fs.writeFileSync(expected,JSON.stringify(expected_json,null,4));
- throw new Error('failed: ' + actual + ' not equal to expected: ' + result);
+ throw new Error('failed: xml ' + result + ' in json form does not match expected result:\n' + actual + ' (actual)\n' + expected + ' (expected)');
} else {
// cleanup any actual renders that no longer fail
try {
Please sign in to comment.
Something went wrong with that request. Please try again.