Skip to content

Commit 0799ea5

Browse files
committed
Update error message
1 parent 6f270d2 commit 0799ea5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ try {
121121
// This line will not be reached if an error is thrown as expected
122122
console.error("Error was not thrown for invalid card 😢");
123123
} catch (e) {
124-
console.log("Error thrown for invalid rank 🎉");
124+
console.log("Error thrown for invalid card 🎉");
125125
}
126126

127127

@@ -131,5 +131,5 @@ try {
131131
// This line will not be reached if an error is thrown as expected
132132
console.error("Error was not thrown for invalid card 😢");
133133
} catch (e) {
134-
console.log("Error thrown for invalid suit 🎉");
134+
console.log("Error thrown for invalid card 🎉");
135135
}

0 commit comments

Comments
 (0)