File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
test/clj/cider/nrepl/middleware Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 9494 (let [{:keys [status ^String err ex] :as reply} (session/message {:op " format-code"
9595 :code " (+ 1 2 3)"
9696 :options {" indents" " INVALID" }})]
97- (is (= #{" format-code-error" " done" } status))
98- (is (.startsWith err " java.lang.IllegalArgumentException:" ))
99- (is (= ex " class java.lang.IllegalArgumentException" ))))
97+ (is (= #{" format-code-error" " done" } status))))
10098
10199 (testing " format-code returns an error if alias-map option is invalid"
102100 (let [{:keys [status ^String err ex] :as reply} (session/message {:op " format-code"
103101 :code " (+ 1 2 3)"
104102 :options {" alias-map" " INVALID" }})]
105- (is (= #{" format-code-error" " done" } status))
106- (is (.startsWith err " java.lang.IllegalArgumentException:" ))
107- (is (= ex " class java.lang.IllegalArgumentException" )))))
103+ (is (= #{" format-code-error" " done" } status)))))
108104
109105(deftest format-edn-op-test
110106 (testing " format-edn works"
You can’t perform that action at this time.
0 commit comments