Fix example of CutDiffAroundLine
This commit is contained in:
parent
8a84f047cf
commit
fbaeb02b2d
|
|
@ -95,7 +95,7 @@ func ExampleCutDiffAroundLine() {
|
||||||
Docker Pulls
|
Docker Pulls
|
||||||
+ cut off
|
+ cut off
|
||||||
+ cut off`
|
+ cut off`
|
||||||
result := CutDiffAroundLine(strings.NewReader(exampleDiff), 4, false, 3)
|
result := CutDiffAroundLine(strings.NewReader(diff), 4, false, 3)
|
||||||
println(result)
|
println(result)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user