summaryrefslogtreecommitdiff
path: root/runtime/indent/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-24 15:09:13 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-24 15:09:13 +0100
commit63b74a8362b14576b21d342dc424d0396ca8ea27 (patch)
treeef1a162503974f7209058ad2430484c892409344 /runtime/indent/testdir
parentdb77b84ac2b6373ae4200d47945fc6ca64337e31 (diff)
downloadvim-git-63b74a8362b14576b21d342dc424d0396ca8ea27.tar.gz
Update runtime files.
Diffstat (limited to 'runtime/indent/testdir')
-rw-r--r--runtime/indent/testdir/README.txt6
-rw-r--r--runtime/indent/testdir/html.ok6
-rw-r--r--runtime/indent/testdir/runtest.vim2
-rw-r--r--runtime/indent/testdir/xml.ok4
4 files changed, 9 insertions, 9 deletions
diff --git a/runtime/indent/testdir/README.txt b/runtime/indent/testdir/README.txt
index 28c162856..65975605c 100644
--- a/runtime/indent/testdir/README.txt
+++ b/runtime/indent/testdir/README.txt
@@ -82,9 +82,9 @@ RUNNING THE TEST
Before running the test, create a FILETYPE.ok file. You can leave it empty at
first.
-Now run "make test". After Vim has done the indenting you will see a
-FILETYPE.fail file. This contains the actual result of indenting, and it's
-different from the FILETYPE.ok file.
+Now run "make test" from the parent directory. After Vim has done the
+indenting you will see a FILETYPE.fail file. This contains the actual result
+of indenting, and it's different from the FILETYPE.ok file.
Check the contents of the FILETYPE.fail file. If it is perfectly OK, then
rename it to overwrite the FILETYPE.ok file. If you now run "make test" again,
diff --git a/runtime/indent/testdir/html.ok b/runtime/indent/testdir/html.ok
index 524d57bb6..ad819333c 100644
--- a/runtime/indent/testdir/html.ok
+++ b/runtime/indent/testdir/html.ok
@@ -9,17 +9,17 @@
</div>
<div
- class="foo bar">
+ class="foo bar">
text
</div>
<div class="foo bar"
- data="something">
+ data="something">
text
</div>
<div class="foo
- bar">
+ bar">
text
</div>
diff --git a/runtime/indent/testdir/runtest.vim b/runtime/indent/testdir/runtest.vim
index 2943152d3..0f0051415 100644
--- a/runtime/indent/testdir/runtest.vim
+++ b/runtime/indent/testdir/runtest.vim
@@ -7,6 +7,7 @@ if 1
set nocp
filetype indent on
+syn on
set nowrapscan
set report=9999
@@ -111,7 +112,6 @@ for fname in glob('testdir/*.in', 1, 1)
if failed
exe 'write ' . root . '.fail'
echoerr 'Test ' . fname . ' FAILED!'
- sleep 2
else
exe 'write ' . root . '.out'
endif
diff --git a/runtime/indent/testdir/xml.ok b/runtime/indent/testdir/xml.ok
index 529198572..cfdf701c1 100644
--- a/runtime/indent/testdir/xml.ok
+++ b/runtime/indent/testdir/xml.ok
@@ -10,11 +10,11 @@
<!-- text comment -->
<!--
- text comment
+ text comment
-->
</tag1>
<!--
- text comment
+ text comment
end coment -->
</tag0>
<!-- END_INDENT -->