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

Reconsider the diff config option #17

Open
sampsyo opened this issue Jun 4, 2022 · 1 comment
Open

Reconsider the diff config option #17

sampsyo opened this issue Jun 4, 2022 · 1 comment

Comments

@sampsyo
Copy link
Contributor

sampsyo commented Jun 4, 2022

We introduced a diff option to control what happens when you do turnt --diff. But I regret putting this in turnt.toml because it is more about the user's interaction preferences, not the setup for the tests themselves. Maybe we should just get rid of this and make it something sensible by default. (Or conceivably we could invent some sort of user config file, but that seems annoying to do…)

@tekknolagi
Copy link

tekknolagi commented Jan 8, 2025

You could do difflib if --diff is passed or if it's given a value with --diff=... then run that instead (or --diff-cmd as a separate thing is probably cleaner)

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