Skip to content

Commit

Permalink
tests: more undefined exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRalphson committed Aug 26, 2022
1 parent a6ea243 commit ee80786
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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;
Expand Down

0 comments on commit ee80786

Please sign in to comment.