Mercurial > vim
view src/testdir/test_crypt.vim @ 10225:820fe7530856
commit https://github.com/vim/vim/commit/20eeb6129d12a5d073ee949043de73242a36976c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 25 21:06:50 2016 +0200
Fix patch applied twice.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 25 Sep 2016 21:15:17 +0200 |
parents | fb1fde4fcff7 |
children | cbee14cc4da6 |
line wrap: on
line source
" Tests for encryption. " TODO: include tests from test71. func Common_head_only(text) " This was crashing Vim split Xtest.txt call setline(1, a:text) wq call feedkeys(":split Xtest.txt\<CR>foobar\<CR>", "tx") call delete('Xtest.txt') call assert_match('VimCrypt', getline(1)) bwipe! endfunc func Test_head_only_2() call Common_head_only('VimCrypt~02!abc') endfunc func Test_head_only_3() call Common_head_only('VimCrypt~03!abc') endfunc