We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6340da3 commit 1614ab9Copy full SHA for 1614ab9
1 file changed
Clojure/Clojure.Tests/clojure/test_clojure/errors.clj
@@ -51,7 +51,7 @@
51
52
(deftest compile-error-examples
53
(are [form errtype re] (thrown-with-cause-msg? errtype re (eval form))
54
- '(Int32/Parse) Exception #"No field, property, or method.*taking 0 args.*" ;;; Long/parseLong #"No method.*taking 0 args"
+ '(Int32/Parse) Exception #"No matching member.*taking 0 args" ;;; Long/parseLong #"No method.*taking 0 args"
55
'(Int32/Parse :a :b :c :d) Exception #"No matching member.*taking 4 args") ;;; (Long/parseLong :a :b :c) #"No matching method.*taking 3 args"
56
(are [form errtype re] (thrown-with-msg? errtype re (eval form))
57
'(.jump "foo" 1) Exception #"No matching member.*taking 1 arg")) ;;; #"No matching method.*taking 1 arg"
0 commit comments