Skip to content

Commit dbf085f

Browse files
Fix typo in error message assertion for invalid card rank in getCardValue function
1 parent 7e6166b commit dbf085f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sprint-3/1-implement-and-rewrite-tests/implement/3-get-card-value.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ try {
8080
getCardValue("z♠"); // this should throw an error of "Invalid card rank."
8181
console.log("Test failed: Expected an error for invalid card rank.");
8282
} catch(error){
83-
assertEquals(error.meessage, "Invalid card rank.");
83+
assertEquals(error.message, "Invalid card rank.");
8484
}

0 commit comments

Comments
 (0)