summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_cindent.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-26 22:00:26 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-26 22:00:26 +0100
commit4b96df5a017a04141c4e901b1fc5704a3ca48099 (patch)
treeae335d245fc252be0d2237336be8c1cda620c874 /src/testdir/test_cindent.vim
parenta5d5953d59730d9bf9c00a727c4aeb56f6ffc944 (diff)
patch 8.2.0156: various typos in source files and testsv8.2.0156
Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
Diffstat (limited to 'src/testdir/test_cindent.vim')
-rw-r--r--src/testdir/test_cindent.vim9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/testdir/test_cindent.vim b/src/testdir/test_cindent.vim
index 2d78be1ad9..dfafd01786 100644
--- a/src/testdir/test_cindent.vim
+++ b/src/testdir/test_cindent.vim
@@ -815,7 +815,7 @@ func Test_cindent_1()
}
}
- public: // <-- this was incorectly indented before!!
+ public: // <-- this was incorrectly indented before!!
void testfall();
protected:
void testfall();
@@ -1780,7 +1780,7 @@ func Test_cindent_1()
}
}
- public: // <-- this was incorectly indented before!!
+ public: // <-- this was incorrectly indented before!!
void testfall();
protected:
void testfall();
@@ -5254,9 +5254,12 @@ endfunc
" this was going beyond the end of the line.
func Test_cindent_case()
new
- call setline(1, "case x: // x")
+ call setline(1, 'case x: // x')
set cindent
norm! f:a:
+ call assert_equal('case x:: // x', getline(1))
+
+ set cindent&
bwipe!
endfunc