Mercurial > vim
view src/testdir/test_join.vim @ 12555:55257baece9a v8.0.1156
patch 8.0.1156: trouble from removing one -W argument from Perl CFLAGS
commit https://github.com/vim/vim/commit/1ec96c926974208bd47710384c8202c47d0752d0
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 27 21:42:08 2017 +0200
patch 8.0.1156: trouble from removing one -W argument from Perl CFLAGS
Problem: Removing one -W argument from Perl CFLAGS may cause trouble.
Solution: Remove all -W flags. (Christian Brabandt)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 27 Sep 2017 21:45:04 +0200 |
parents | dd2e2bd69d0e |
children | 15f0f9f16cd9 |
line wrap: on
line source
" Test for joining lines. func Test_join_with_count() new call setline(1, ['one', 'two', 'three', 'four']) normal J call assert_equal('one two', getline(1)) %del call setline(1, ['one', 'two', 'three', 'four']) normal 10J call assert_equal('one two three four', getline(1)) quit! endfunc