With this change DiffUpdater can update expected files even if both files are created by split-files, if one of them ends with ".expected". This is useful when a file is created and then modified during the test.
10 lines
168 B
Plaintext
10 lines
168 B
Plaintext
# RUN: split-file %s %t
|
|
# RUN: echo baz > %t/split-both.out
|
|
# RUN: diff %t/split-both.expected %t/split-both.out
|
|
|
|
#--- split-both.expected
|
|
baz
|
|
#--- split-both.out
|
|
BAR
|
|
|