-
-
Notifications
You must be signed in to change notification settings - Fork 196
diff have a problem #22
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
Comments
I assume you flipped expected and actual behavior. |
This boils down to the question, if the linefeed should be part of the difference or not. I think it should be part of it, since in your example a newline is introduced. The Arrays have different size. If you start with
you get your expected behavior. |
thanks for the reply,I want to compare the difference between two strings 。
|
I changed my mind. Due to visualization it is clear, that there is a linefeed. And because this line diff is generated for visualiization purposes the result should be the one you expected. |
The actual result in version 3.0-SNAPSHOT is
|
Uh oh!
There was an error while loading. Please reload this page.
Expected Behavior
senctence.Actual Behavior
senctence.The text was updated successfully, but these errors were encountered: