diff --git a/dist/index.js b/dist/index.js index 3a457dd..4f3fbe2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -21,7 +21,7 @@ const SUPPORTED_COMPARISONS = [ ]; function throwAssertError(expected, actual, comparison) { - const msg = `Expected '${actual}' to ${comparison} '${expected}'`; + const msg = `Expected '${expected}' to ${comparison} '${actual}'`; writeOutput('result', 'failed'); throw new Error(msg); } diff --git a/index.js b/index.js index 6c50d3a..1d3fcdd 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,7 @@ const SUPPORTED_COMPARISONS = [ ]; function throwAssertError(expected, actual, comparison) { - const msg = `Expected '${actual}' to ${comparison} '${expected}'`; + const msg = `Expected '${expected}' to ${comparison} '${actual}'`; writeOutput('result', 'failed'); throw new Error(msg); }