add messages to non regression test output
This commit is contained in:
parent
3fced333e8
commit
cbe8c84ec1
@ -15,7 +15,7 @@ function verifyAndAssertMessages(code, rules, expectedMessages) {
|
||||
);
|
||||
|
||||
if (messages.length !== expectedMessages.length) {
|
||||
throw new Error("Expected " + expectedMessages.length + " message(s), got " + messages.length);
|
||||
throw new Error("Expected " + expectedMessages.length + " message(s), got " + messages.length + " " + JSON.stringify(messages));
|
||||
}
|
||||
|
||||
messages.forEach(function (message, i) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user