-
Notifications
You must be signed in to change notification settings - Fork 15
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
Improve focus of multi-line string diffs when there are loads of lines #68
Comments
I'd like to work on this, where should the changes be made? I would think under |
Honestly you're guess is as good as mine at this point 😄 |
So it goes lol. Do you have any pointers for developing for this library? No worries if not. |
Maybe a note about the tests, if you hadn't spotted it yet. The formatters are tested through snapshots, with identifying strings used in the "theme". |
See discussion: avajs/ava#2665
When comparing two strings that are many lines long, the diff output should focus on the lines that are actually different, not the potentially dozens or hundreds of lines that are the same.
@@ -l, +l @@
, where the line numbersl
correspond to the-
and+
sides of the diff.The text was updated successfully, but these errors were encountered: