Fix OS test logic

This commit is contained in:
HaveAGitGat 2022-05-23 07:52:58 +01:00
parent 8e0a8954b4
commit 33318486f4

View file

@ -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;