Skip to content

Commit

Permalink
Fix pprint tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Rodionov committed Oct 16, 2022
1 parent 96a454c commit 0748b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/refactor_nrepl/ns/pprint.clj
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
forms (cond (and docstring? attrs?) (nthrest more 2)
(not (or docstring? attrs?)) more
:else (rest more))
ns-meta (:top-level-meta (meta ns-form))]
ns-meta (apply dissoc (:top-level-meta (meta ns-form)) (keys attrs?))]
(-> (with-out-str
(printf "(ns ")
(when (seq ns-meta) (pprint-meta ns-meta :newlines true))
Expand Down

0 comments on commit 0748b8c

Please sign in to comment.