DiffUtil
dotty.tools.dotc.util.DiffUtil$
object DiffUtil
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- DiffUtil.type
Members list
Concise view
Value members
Concrete methods
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.
Attributes
- actual
The actual lines
- expected
The expected lines
- Returns:
A string with one element of
expected
andactual
on each lines, where differences are highlighted.
Attributes
- Returns:
a tuple of the (found, expected, changedPercentage) diffs as strings