From 33318486f4295af055d47bede71ab8d0a7de4781 Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Mon, 23 May 2022 07:52:58 +0100 Subject: [PATCH] Fix OS test logic --- tests/helpers/run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers/run.js b/tests/helpers/run.js index ec6963489..ff1dabf69 100644 --- a/tests/helpers/run.js +++ b/tests/helpers/run.js @@ -14,7 +14,7 @@ const run = async (tests) => { const test = tests[i]; let expectedOutput; - if (test.output[os.platform()]) { + if (test.output[os.platform()] !== undefined) { expectedOutput = test.output[os.platform()]; } else { expectedOutput = test.output;