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 200200 " format-edn"
201201 {:doc " Reformats the given EDN data, returning the result as a string."
202202 :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 ."
204204 " pprint-fn" " Fully qualified name of the print function to be used." }
205205 :returns {" formatted-edn" " The formatted data." }}}})
206206
Original file line number Diff line number Diff line change 125125 (is (.startsWith err " clojure.lang.ExceptionInfo: Unmatched delimiter" ))
126126 (is (:pp-stacktrace response))))
127127
128- (testing " format-edn respects the :print- right-margin slot "
128+ (testing " format-edn respects the :right-margin print config "
129129 (let [wide-edn-sample " [1 2 3 4 5 6 7 8 9 0]"
130130 normal-reply (session/message {:op " format-edn" :edn wide-edn-sample})
131131 narrow-margin-reply (session/message {:op " format-edn"
You can’t perform that action at this time.
0 commit comments