From 6146f54a1450bd984284f7cb553e8d1687fa5161 Mon Sep 17 00:00:00 2001 From: Stuart Sierra Date: Fri, 1 Oct 2010 17:15:36 -0400 Subject: Fix failing Boolean test in c.c.jmx --- modules/jmx/src/test/clojure/clojure/contrib/test_jmx.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/jmx/src/test/clojure/clojure/contrib/test_jmx.clj b/modules/jmx/src/test/clojure/clojure/contrib/test_jmx.clj index 7420316a..a9f364d7 100644 --- a/modules/jmx/src/test/clojure/clojure/contrib/test_jmx.clj +++ b/modules/jmx/src/test/clojure/clojure/contrib/test_jmx.clj @@ -76,7 +76,8 @@ (deftest writing-attributes (let [mem "java.lang:type=Memory"] (jmx/write! mem :Verbose true) - (is (true? (jmx/raw-read mem :Verbose))) + ;; need boolean cast to fix Boolean object identity error + (is (true? (boolean (jmx/raw-read mem :Verbose)))) (jmx/write! mem :Verbose false))) (deftest test-invoke-operations -- cgit v1.2.3-18-g5258