File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
test/clj/cider/nrepl/middleware Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 200
200
" format-edn"
201
201
{:doc " Reformats the given EDN data, returning the result as a string."
202
202
:requires {" edn" " The data to format." }
203
- :optional {" print-right-margin " " The maximum column width of the formatted result ."
203
+ :optional {" print-options " " A map of params for the print function ."
204
204
" pprint-fn" " Fully qualified name of the print function to be used." }
205
205
:returns {" formatted-edn" " The formatted data." }}}})
206
206
Original file line number Diff line number Diff line change 125
125
(is (.startsWith err " clojure.lang.ExceptionInfo: Unmatched delimiter" ))
126
126
(is (:pp-stacktrace response))))
127
127
128
- (testing " format-edn respects the :print- right-margin slot "
128
+ (testing " format-edn respects the :right-margin print config "
129
129
(let [wide-edn-sample " [1 2 3 4 5 6 7 8 9 0]"
130
130
normal-reply (session/message {:op " format-edn" :edn wide-edn-sample})
131
131
narrow-margin-reply (session/message {:op " format-edn"
You can’t perform that action at this time.
0 commit comments