Skip to content

Commit 6a34eb6

Browse files
committed
comimit
1 parent b19f0dd commit 6a34eb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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,7 +80,7 @@ assertThrow(()=>getCardValue("Q♠♠"))
8080

8181

8282
function assertThrow(fn){
83-
try { (fn)
83+
try { fn()
8484
// we try to run this function, if it throws, stop running this bit and run the catch below
8585

8686
// This line will not be reached if an error is thrown as expected

0 commit comments

Comments
 (0)