aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-10-06 12:32:27 -0700
committerGitHub <noreply@github.com>2019-10-06 12:32:27 -0700
commit93bceac9bdf9048bb2f615bb6872b46eb15baab8 (patch)
tree9534e28cdf579684a35db039709e83bc4f45fb50 /src/nvim/testdir
parent55007180a39e762dad7e80b7cd57fe4630e2e20a (diff)
parentd1abd6513e95a41e41ad570038310087e97f3bb1 (diff)
downloadrneovim-93bceac9bdf9048bb2f615bb6872b46eb15baab8.tar.gz
rneovim-93bceac9bdf9048bb2f615bb6872b46eb15baab8.tar.bz2
rneovim-93bceac9bdf9048bb2f615bb6872b46eb15baab8.zip
Merge #11157 from janlazo/vim-8.1.2113
vim-patch:8.1.{59, 586, 2113}
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_digraph.vim13
-rw-r--r--src/nvim/testdir/test_help.vim6
2 files changed, 19 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_digraph.vim b/src/nvim/testdir/test_digraph.vim
index 62a5da33df..5da05e85b5 100644
--- a/src/nvim/testdir/test_digraph.vim
+++ b/src/nvim/testdir/test_digraph.vim
@@ -465,4 +465,17 @@ func Test_show_digraph()
bwipe!
endfunc
+func Test_show_digraph_cp1251()
+ throw 'skipped: Nvim supports ''utf8'' encoding only'
+ if !has('multi_byte')
+ return
+ endif
+ new
+ set encoding=cp1251
+ call Put_Dig("='")
+ call assert_equal("\n<\xfa> <|z> <M-z> 250, Hex fa, Oct 372, Digr ='", execute('ascii'))
+ set encoding=utf-8
+ bwipe!
+endfunc
+
" vim: shiftwidth=2 sts=2 expandtab
diff --git a/src/nvim/testdir/test_help.vim b/src/nvim/testdir/test_help.vim
index ed3181564c..01fb9917e9 100644
--- a/src/nvim/testdir/test_help.vim
+++ b/src/nvim/testdir/test_help.vim
@@ -21,6 +21,12 @@ func Test_help_errors()
bwipe!
endfunc
+func Test_help_expr()
+ help expr-!~?
+ call assert_equal('eval.txt', expand('%:t'))
+ close
+endfunc
+
func Test_help_keyword()
new
set keywordprg=:help