Skip to content

Commit 50d2319

Browse files
committed
Fixed unit test HTML
1 parent a8f5173 commit 50d2319

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

unittest/unittest.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
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");

0 commit comments

Comments
 (0)