Skip to content
Permalink
Browse files

Fix: actual messageId and expected messageId are switched in rule tes…

…ter (#11928)
  • Loading branch information...
mdjermanovic authored and not-an-aardvark committed Jul 4, 2019
1 parent 8b216e0 commit 19335b8f47029b2f742d5507ba39484eaf68d07b
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rule-tester/rule-tester.js
@@ -549,8 +549,8 @@ class RuleTester {
assert(false, `Invalid messageId '${error.messageId}'. Expected one of ${friendlyIDList}.`);
}
assert.strictEqual(
error.messageId,
message.messageId,
error.messageId,
`messageId '${message.messageId}' does not match expected messageId '${error.messageId}'.`
);
if (hasOwnProperty(error, "data")) {

0 comments on commit 19335b8

Please sign in to comment.
You can’t perform that action at this time.