diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-29 21:57:34 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-29 21:57:34 +0100 |
commit | 5d98dc2a48156d44139b75c689bd3137ff7fe8bf (patch) | |
tree | 0622310d475027658462943b1b9a9c85fc3ec48e /src/testdir/test_textformat.vim | |
parent | 0ff6aad393c4130818fb4f49137380f78d7cc882 (diff) | |
download | vim-git-5d98dc2a48156d44139b75c689bd3137ff7fe8bf.tar.gz |
patch 8.2.0174: various commands not completely testedv8.2.0174
Problem: Various commands not completely tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #5551)
Diffstat (limited to 'src/testdir/test_textformat.vim')
-rw-r--r-- | src/testdir/test_textformat.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test_textformat.vim b/src/testdir/test_textformat.vim index 2223be952..a49ef5c64 100644 --- a/src/testdir/test_textformat.vim +++ b/src/testdir/test_textformat.vim @@ -424,6 +424,14 @@ func Test_format_align() \ ], getline(1, '$')) enew! + " align text with 'wrapmargin' + call setline(1, ['Vim']) + set textwidth=0 + set wrapmargin=60 + right + call assert_equal("\t\t Vim", getline(1)) + set wrapmargin& + set tw& endfunc |