Mercurial > vim
comparison src/testdir/test_textobjects.vim @ 15406:63b02fcf1361 v8.1.0711
patch 8.1.0711: test files still use function!
commit https://github.com/vim/vim/commit/1e1153600c0377472d62cc553173fe555ddcf5a7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 9 23:01:02 2019 +0100
patch 8.1.0711: test files still use function!
Problem: Test files still use function!.
Solution: Remove the exclamation mark. Fix overwriting a function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 09 Jan 2019 23:15:05 +0100 |
parents | e7f92d1a3fcd |
children | e580c9d75443 |
comparison
equal
deleted
inserted
replaced
15405:3a8785d45112 | 15406:63b02fcf1361 |
---|---|
234 call assert_equal(' A sentence.', @") | 234 call assert_equal(' A sentence.', @") |
235 | 235 |
236 %delete _ | 236 %delete _ |
237 endfunc | 237 endfunc |
238 | 238 |
239 func! Test_sentence_with_cursor_on_delimiter() | 239 func Test_sentence_with_cursor_on_delimiter() |
240 enew! | 240 enew! |
241 call setline(1, "A '([sentence.])' A sentence.") | 241 call setline(1, "A '([sentence.])' A sentence.") |
242 | 242 |
243 normal! 15|yis | 243 normal! 15|yis |
244 call assert_equal("A '([sentence.])'", @") | 244 call assert_equal("A '([sentence.])'", @") |