diff --git a/test/exception_handling.coffee b/test/exception_handling.coffee index 416bdc53..bb19dce0 100644 --- a/test/exception_handling.coffee +++ b/test/exception_handling.coffee @@ -8,7 +8,7 @@ nonce = {} # Throw test "basic exception throwing", -> - throws (-> throw 'error'), 'error' + throws (-> throw 'error'), /^error$/ # Empty Try/Catch/Finally