Skip to content

Commit 5d0bf77

Browse files
test(2022-day-02): validate for correct expect function call
1 parent a01f2b4 commit 5d0bf77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2022/day-02/rochambeau.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('--- Day 2: Rock Paper Scissors ---', () => {
3333
expect(strategizeRound('B', 'X')).to.equal(1)
3434
expect(strategizeRound('C', 'Z')).to.equal(7)
3535
// data from input
36-
expect(scoreRound('A', 'X')).to.equal(3) // Opponent played Rock and self should lose
36+
expect(strategizeRound('A', 'X')).to.equal(3) // Opponent played Rock and self should lose
3737
})
3838
})
3939
describe('strategizeMatch', () => {

0 commit comments

Comments
 (0)