We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
java.lang.Object
1 parent 0bcc10b commit ad3952cCopy full SHA for ad3952c
1 file changed
test/lsp4clj/io_chan_test.clj
@@ -70,14 +70,14 @@
70
(testing "when JSON serialisation fails"
71
(let [output-stream (java.io.ByteArrayOutputStream.)
72
output-ch (io-chan/output-stream->output-chan output-stream)]
73
- (async/>!! output-ch {:not-serializable output-stream})
74
- (Thread/sleep 200)
+ (async/>!! output-ch {:not-serializable (Object.)})
+ (Thread/sleep 50)
75
(is (false? (async/put! output-ch {:test "should be closed"})))))
76
(testing "when an I/O exception occurs"
77
(let [output-stream (error-output-stream)
78
79
(async/>!! output-ch {:test "ok"})
80
81
(is (false? (async/put! output-ch {:test "should be closed"}))))))
82
83
(deftest input-stream-should-kebab-case-input
0 commit comments