Skip to content

Commit

Permalink
fixed spelling, added length bound
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendenHaskins committed Dec 10, 2024
1 parent dc1a369 commit 3c8d2a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/test/web/obviusTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,10 @@ mocha.describe('Obvius API', () => {


//both arrays should be contain the same sequence of values
for (let i = 0; i < 28; i++) {
for (let i = 0; i < expMeterNames.length; i++) {
if (expMeterNames[i] != meterNames[i]) {
expectedNamesAreEqual = false;
allErrorMessagesNames += "Meter failed name comparison, Expeceted: " + expMeterNames[i] + " Actual: " + meterNames[i] + "\n";
allErrorMessagesNames += "Meter failed name comparison, Expected: " + expMeterNames[i] + " Actual: " + meterNames[i] + "\n";
}

if (expMeterIDs[i] != meterIDs[i]) {
Expand Down

0 comments on commit 3c8d2a5

Please sign in to comment.