Fix example of CutDiffAroundLine

This commit is contained in:
Jonas Franz 2018-07-06 15:36:05 +02:00
parent 8a84f047cf
commit fbaeb02b2d
No known key found for this signature in database
GPG Key ID: 506AEEBE80BEDECD

View File

@ -95,7 +95,7 @@ func ExampleCutDiffAroundLine() {
Docker Pulls
+ cut off
+ cut off`
result := CutDiffAroundLine(strings.NewReader(exampleDiff), 4, false, 3)
result := CutDiffAroundLine(strings.NewReader(diff), 4, false, 3)
println(result)
}