Skip to content

Commit

Permalink
Fix OS test logic
Browse files Browse the repository at this point in the history
  • Loading branch information
HaveAGitGat committed May 23, 2022
1 parent 8e0a895 commit 3331848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/helpers/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3331848

Please sign in to comment.