unexpected
Advanced tools
Comparing version 10.10.0 to 10.10.1
@@ -282,2 +282,9 @@ var utils = require('./utils'); | ||
} | ||
} else if (lineEntry.style === 'raw') { | ||
this | ||
.text('.') | ||
.jsFunctionName('raw') | ||
.text('(') | ||
.appendInspected(lineEntry.args.content()) | ||
.text(')'); | ||
} else { | ||
@@ -284,0 +291,0 @@ // lineEntry.style === 'block' |
@@ -1021,3 +1021,8 @@ var utils = require('./utils'); | ||
}, | ||
diffLimit: 1024, | ||
diff: function (actual, expected, output, diff, inspect) { | ||
if (Math.max(actual.length, expected.length) > this.diffLimit) { | ||
output.jsComment('Diff suppressed due to size > ' + this.diffLimit); | ||
return output; | ||
} | ||
var d = output.stringDiff(actual, expected, {type: 'WordsWithSpace', markUpSpecialCharacters: true}); | ||
@@ -1024,0 +1029,0 @@ d.inline = false; |
{ | ||
"name": "unexpected", | ||
"version": "10.10.0", | ||
"version": "10.10.1", | ||
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
749447
18743