correct failing test

This commit is contained in:
Sam
2018-05-24 13:02:20 +10:00
parent 6a01a371ee
commit 4194886b62
3 changed files with 17 additions and 10 deletions

View File

@@ -57,7 +57,7 @@ async function runAllTests() {
// If it's a simple test result, write without newline
if(message === "." || message === "F"){
process.stdout.write(message);
} else if (message.startsWith("AUTOSPEC:")) {
} else if (message && message.startsWith("AUTOSPEC:")) {
fs.appendFileSync(QUNIT_RESULT, `${message.slice(10)}\n`);
} else {
console.log(message);