Skip to content

Commit b852410

Browse files
committed
Fix clojure test
1 parent badadd1 commit b852410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language-adaptors/rxjava-clojure/src/test/clojure/rx/lang/clojure/blocking_test.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
(testing "returns one element"
3737
(is (= 1 (b/single (rx/return 1)))))
3838
(testing "throw if empty"
39-
(is (thrown? java.lang.IllegalArgumentException (b/single (rx/empty)))))
39+
(is (thrown? java.util.NoSuchElementException (b/single (rx/empty)))))
4040
(testing "throw if many"
4141
(is (thrown? java.lang.IllegalArgumentException (b/single (rx/seq->o [1 2])))))
4242
(testing "rethrows errors"

0 commit comments

Comments
 (0)