File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616-->
1717< html >
1818< head >
19- < title > Mapcode Javascript Unit Test </ title >
19+ < title > Mapcode Javascript Unit Tests </ title >
2020 < script src ="../ndata.js " type ="text/javascript "> </ script >
2121 < script src ="../mapcode.js " type ="text/javascript "> </ script >
2222 < script src ="test_territories.js " type ="text/javascript "> </ script >
@@ -494,7 +494,6 @@ <h1>Mapcode Javascript Unit Tests</h1>
494494 testdata [ i + 1 ] + ')=' + tc + ', expected ' + testdata [ i ] ) ;
495495 }
496496 }
497-
498497 }
499498
500499
@@ -548,9 +547,9 @@ <h1>Mapcode Javascript Unit Tests</h1>
548547 break ;
549548 case 11 :
550549 out ( '<hr>Done<br>' ) ;
551- out ( 'Executed ' + nrTests + ' tests, found ' + nrErrors + ' errors' ) ;
550+ out ( 'Executed ' + nrTests + ' tests, found ' + nrErrors + ' errors (and ' + nrWarnings + ') warnings ') ;
552551 if ( ( nrWarnings > 0 ) || ( nrErrors > 0 ) ) {
553- out ( "<b>UNIT TEST FAILED!</b>" ) ;
552+ out ( "<b>UNIT TESTS FAILED!</b>" ) ;
554553 }
555554 else {
556555 out ( "Unit tests passed" ) ;
You can’t perform that action at this time.
0 commit comments