mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-22 09:49:59 +00:00
b219598e7b
* include/abg-diff-utils.h (end_of_frr_d_path_in_k_plus_delta): Favour moving left when the two abscissas at the previous steps are equal. (compute_diff): Update the length of the shortest edit script when the size of one of the inputs is zero. * tests/test-core-diff.cc (in_out_spec): Add a new input to diff two sequences for regression testing. * tests/data/test-core-diff/report13.txt: New reference for the comparison of the new regression test above. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
21 lines
761 B
Plaintext
21 lines
761 B
Plaintext
4 deletions:
|
|
happened at indexes: 2 (c), 3 (d), 4 (e), 8 (i)
|
|
|
|
16 insertions:
|
|
before index of first sequence: 0 (a)
|
|
inserted indexes from second sequence: 0 (j), 1 (k), 2 (l), 3 (m), 4 (n), 5 (o), 6 (p), 7 (q), 8 (r), 9 (s)
|
|
before index of first sequence: 0 (a)
|
|
inserted indexes from second sequence: 10 (t)
|
|
after index of first sequence: 0 (a)
|
|
inserted indexes from second sequence: 12 (d)
|
|
after index of first sequence: 0 (a)
|
|
inserted indexes from second sequence: 13 (u)
|
|
after index of first sequence: 1 (b)
|
|
inserted indexes from second sequence: 15 (v)
|
|
after index of first sequence: 5 (f)
|
|
inserted indexes from second sequence: 17 (w)
|
|
after index of first sequence: 5 (f)
|
|
inserted indexes from second sequence: 18 (x)
|
|
|
|
|