Skip to content

Fully serialize pod return values before pr-str'ing#684

Open
martinklepsch wants to merge 1 commit intomasterfrom
683-println-pod-return-value-corruption
Open

Fully serialize pod return values before pr-str'ing#684
martinklepsch wants to merge 1 commit intomasterfrom
683-println-pod-return-value-corruption

Conversation

@martinklepsch
Copy link
Member

Fix for #683.

I added a test as well but lein test isn't working. Will need to look into that.

Copy link
Contributor

@arichiardi arichiardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pod is the only test which doesn't use boot.test. Maybe we can convert it like in #579?

(binding [*print-meta* meta?]
(pr-str (eval expr)))))
(->> (eval expr)
(walk/postwalk identity) ; make sure all lazy seqs are realized #683
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arichiardi
Copy link
Contributor

If we merge #685 in then this can use it 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants