From ee80786792e8fa1bf1b9a48975514e359af7d1c0 Mon Sep 17 00:00:00 2001 From: Mike Ralphson Date: Fri, 26 Aug 2022 15:47:38 +0100 Subject: [PATCH] tests: more undefined exceptions --- testRunner.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testRunner.js b/testRunner.js index d12f0b2..5c32341 100755 --- a/testRunner.js +++ b/testRunner.js @@ -115,9 +115,11 @@ async function check(file) { if (!result) result = ''; result = result.split('is undefined').join('x'); result = result.split('f undefined').join('x'); + result = result.split('f `undefined`').join('x'); result = result.split('are undefined').join('x'); result = result.split('then undefined').join('x'); result = result.split('be undefined').join('x'); + result = result.split('`be undefined`').join('x'); result = result.split('undefined to').join('x'); result = result.split('undefined in').join('x'); result = result.split('undefined how').join('x'); @@ -144,6 +146,8 @@ async function check(file) { result = result.split('undefined error').join('x'); result = result.split('any undefined').join('x'); result = result.split('undefined_func').join('x'); + result = result.split('then undefined').join('x'); + result = result.split('item undefined').join('x'); if (ok && result.indexOf('undefined')>=0) { message = 'Ok except for undefined references'; ok = false;