mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore(testrunner): newline for toEqual matcher (#3959)
This commit is contained in:
parent
0bb657cb26
commit
569609636e
@ -99,7 +99,7 @@ const DefaultMatchers = {
|
||||
toEqual: function(value, other, message) {
|
||||
const valueJson = stringify(value);
|
||||
const otherJson = stringify(other);
|
||||
message = message || `${valueJson} ≈ ${otherJson}`;
|
||||
message = message || `\n${valueJson} ≈ ${otherJson}`;
|
||||
return { pass: valueJson === otherJson, message };
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user