Skip to content

Commit 58ea632

Browse files
committed
fix: update examples
1 parent 4ad777e commit 58ea632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_examples/changes/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func main() {
1111
b := "Hello, Go!\nSay hi to µDiff"
1212

1313
edits := udiff.Strings(a, b)
14-
d, err := udiff.ToUnifiedDiff("a.txt", "b.txt", a, edits)
14+
d, err := udiff.ToUnifiedDiff("a.txt", "b.txt", a, edits, udiff.DefaultContextLines)
1515
if err != nil {
1616
panic(err)
1717
}

0 commit comments

Comments
 (0)