diff options
author | Stuart Halloway <stu@thinkrelevance.com> | 2010-05-07 18:58:59 -0400 |
---|---|---|
committer | Stuart Halloway <stu@thinkrelevance.com> | 2010-05-07 18:58:59 -0400 |
commit | 6506709e6de4b10e75a2ce1894c0b39511eca014 (patch) | |
tree | 326bd7795cfec17ee9e5d76a3536dfcb4892194e | |
parent | 3f8be323e5b1c8ca3b51e946930174b90284ace7 (diff) |
make error expectation 1.5/1.6 agnostic
-rw-r--r-- | test/clojure/test_clojure/protocols.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/clojure/test_clojure/protocols.clj b/test/clojure/test_clojure/protocols.clj index 57db84d3..32dbf812 100644 --- a/test/clojure/test_clojure/protocols.clj +++ b/test/clojure/test_clojure/protocols.clj @@ -249,7 +249,7 @@ (is (false? (.isEmpty r))))) (testing "you can't define a method twice" (is (fails-with-cause? - java.lang.ClassFormatError #"^Duplicate method name" + java.lang.ClassFormatError #"^(Repetitive|Duplicate) method name" (eval '(reify java.util.List (size [_] 10) |