diff options
author | Stuart Sierra <mail@stuartsierra.com> | 2010-10-01 17:15:36 -0400 |
---|---|---|
committer | Stuart Sierra <mail@stuartsierra.com> | 2010-10-01 17:15:36 -0400 |
commit | 6146f54a1450bd984284f7cb553e8d1687fa5161 (patch) | |
tree | b055105226389447ac245d9718559fdc97739ceb | |
parent | 0561a9b5d264498c883870a0f2d292894d1d28a9 (diff) |
Fix failing Boolean test in c.c.jmx
-rw-r--r-- | modules/jmx/src/test/clojure/clojure/contrib/test_jmx.clj | 3 |
1 files changed, 2 insertions, 1 deletions
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 |