Mercurial > vim
view src/testdir/test_goto.vim @ 9025:0bc1d66dfa2f v7.4.1798
commit https://github.com/vim/vim/commit/bb82762907ba024717ad9af3b229c2fa6405cd36
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 29 22:33:27 2016 +0200
patch 7.4.1798
Problem: Still compiler warning for unused return value. (Charles Campbell)
Solution: Assign to ignoredp.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 29 Apr 2016 22:45:06 +0200 |
parents | f0d7dfb136bc |
children | 1b4946fa3777 |
line wrap: on
line source
" Test commands that jump somewhere. func Test_geedee() new call setline(1, ["Filename x;", "", "int Filename", "int func() {", "Filename y;"]) /y;/ normal gD call assert_equal(1, line('.')) quit! endfunc