...

Text file src/internal/diff/testdata/basic.txt

Documentation: internal/diff/testdata

     1Example from Hunt and McIlroy, “An Algorithm for Differential File Comparison.”
     2https://www.cs.dartmouth.edu/~doug/diff.pdf
     3
     4-- old --
     5a
     6b
     7c
     8d
     9e
    10f
    11g
    12-- new --
    13w
    14a
    15b
    16x
    17y
    18z
    19e
    20-- diff --
    21diff old new
    22--- old
    23+++ new
    24@@ -1,7 +1,7 @@
    25+w
    26 a
    27 b
    28-c
    29-d
    30+x
    31+y
    32+z
    33 e
    34-f
    35-g

View as plain text