fix(curriculum): country spelling issue in lab voting system challenge 26 (#60608)

This commit is contained in:
Clarence Bakosi
2025-05-30 10:47:55 +01:00
committed by GitHub
parent 798015d62c
commit 17603b1fb1
@@ -162,16 +162,16 @@ try {
}
```
When `Malysia` exists in the voting options, `vote("Malysia", "traveler1")` should return `Voter traveler1 voted for "Malysia".`
When `Malaysia` exists in the voting options, `vote("Malaysia", "traveler1")` should return `Voter traveler1 voted for "Malaysia".`
```js
const pollCopy = new Map(poll);
try {
poll.clear();
addOption('Malysia');
addOption('Malaysia');
assert.equal(
vote('Malysia', 'traveler1'),
'Voter traveler1 voted for "Malysia".'
vote('Malaysia', 'traveler1'),
'Voter traveler1 voted for "Malaysia".'
);
} finally {
poll.clear();