chore(testrunner): newline for toEqual matcher (#3959)

This commit is contained in:
Andrey Lushnikov 2019-02-08 16:18:45 -08:00 committed by GitHub
parent 0bb657cb26
commit 569609636e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 };
},