Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is ':minimal a diff-style option? #429

Open
gdw2 opened this issue Jan 5, 2024 · 1 comment
Open

Is ':minimal a diff-style option? #429

gdw2 opened this issue Jan 5, 2024 · 1 comment

Comments

@gdw2
Copy link

gdw2 commented Jan 5, 2024

This implies that the diff-style options are :none and :minimal:

(output/format-doc (cond
(= :none (:kaocha/diff-style kaocha.testable/*config*))
actual
(= :minimal (:kaocha/diff-style kaocha.testable/*config*))
((jit lambdaisland.deep-diff2/minimize)
((jit lambdaisland.deep-diff2/diff) expected actual))
:else
((jit lambdaisland.deep-diff2/diff) expected actual))
printer)))]))

But the cli help says :none and :deep:

[nil "--diff-style STYLE" "The style of diff to print on failing tests, either :none or :deep"

Or I'm completely mistaken!

@oxalorg
Copy link
Member

oxalorg commented Jan 8, 2024

Yes :minimize was recently added for a more compact diff. Looks like we should update the cli runner help doc.

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

No branches or pull requests

2 participants