Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 19335b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rule-tester/rule-tester.js
Expand Up @@ -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")) {
Expand Down

0 comments on commit 19335b8

Please sign in to comment.