annotate src/testdir/test22.in @ 2162:0527eb0f6918 vim73

After recovery check if the text changed. If it did mark the buffer as modified.
author Bram Moolenaar <bram@vim.org>
date Sat, 15 May 2010 17:06:53 +0200
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 Tests for file with some lines ending in CTRL-M, some not
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 :set ta tx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 :e!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 :$-3,$w! test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 :qa!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 this lines ends in a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 this one doesn't
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 this one does
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 and the last one doesn't