From e5aea4f11b3e9e329a6a9f661b9f6798c956dff5 Mon Sep 17 00:00:00 2001 From: Nick Fields <46869826+nick-fields@users.noreply.github.com> Date: Tue, 16 Jun 2026 13:53:55 -0400 Subject: [PATCH] fix(action): fix error message wording --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }