We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3289e46 commit d5f8abeCopy full SHA for d5f8abe
1 file changed
Sprint-3/1-implement-and-rewrite-tests/implement/3-get-card-value.js
@@ -129,4 +129,15 @@ try {
129
try {
130
getCardValue("");
131
console.error("Error was not thrown for empty string");
132
+} catch (e) {}
133
+
134
+// Invalid extra characters in rank
135
+try {
136
+ getCardValue("2.♠");
137
+ console.error("Should have thrown for '2.♠'");
138
139
140
141
+ getCardValue("+2♠");
142
+ console.error("Should have thrown for '+2♠'");
143
} catch (e) {}
0 commit comments