view src/testdir/test_join.vim @ 11244:d9077ce382a8 v8.0.0508

patch 8.0.0508: Coveralls no longer shows per-file coverage commit https://github.com/vim/vim/commit/d722fd74d84c8e7119d9599b67388bd26a2dacf5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 25 17:46:59 2017 +0100 patch 8.0.0508: Coveralls no longer shows per-file coverage Problem: Coveralls no longer shows per-file coverage. Solution: Add coverage from codecov.io. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Sat, 25 Mar 2017 18:00:05 +0100
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