DiffUtil
Members list
Value members
Concrete methods
Returns a colored diffs by comparison of lines instead of tokens. It will automatically group subsequential pairs of Insert
and Delete
in order to improve the readability
Returns a colored diffs by comparison of lines instead of tokens. It will automatically group subsequential pairs of Insert
and Delete
in order to improve the readability
Value parameters
- actual
-
The actual lines
- expected
-
The expected lines
Attributes
- Returns
-
A string with colored diffs between
expected
andactual
grouped whenever possible
Return a colored diff between the tokens of every line in expected
and actual
. Each line of output contains the expected value on the left and the actual value on the right.
Return a colored diff between the tokens of every line in expected
and actual
. Each line of output contains the expected value on the left and the actual value on the right.
Value parameters
- actual
-
The actual lines
- expected
-
The expected lines
Attributes
- Returns
-
A string with one element of
expected
andactual
on each lines, where differences are highlighted.