aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_cindent.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-14 18:56:30 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-02-14 18:56:30 +0800
commitdcefd48c1b7023bb1dce25bf9f6cfce47edbe993 (patch)
tree58bce3c008b9c154b93975b446c2520701dcaca4 /src/nvim/testdir/test_cindent.vim
parentc9b46f154bfd1208310f8de931e899f562da9a95 (diff)
downloadrneovim-dcefd48c1b7023bb1dce25bf9f6cfce47edbe993.tar.gz
rneovim-dcefd48c1b7023bb1dce25bf9f6cfce47edbe993.tar.bz2
rneovim-dcefd48c1b7023bb1dce25bf9f6cfce47edbe993.zip
vim-patch:8.2.0156: various typos in source files and tests
Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes vim/vim#5532) https://github.com/vim/vim/commit/4b96df5a017a04141c4e901b1fc5704a3ca48099
Diffstat (limited to 'src/nvim/testdir/test_cindent.vim')
-rw-r--r--src/nvim/testdir/test_cindent.vim9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_cindent.vim b/src/nvim/testdir/test_cindent.vim
index e5933ed80b..4b702bf2b8 100644
--- a/src/nvim/testdir/test_cindent.vim
+++ b/src/nvim/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();
@@ -1792,7 +1792,7 @@ func Test_cindent_1()
}
}
- public: // <-- this was incorectly indented before!!
+ public: // <-- this was incorrectly indented before!!
void testfall();
protected:
void testfall();
@@ -5302,9 +5302,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