aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_expr.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-01-08 22:23:05 +0100
committerGitHub <noreply@github.com>2018-01-08 22:23:05 +0100
commit0ed31303b576a44ecf7d2c579110f69e26f9db60 (patch)
tree4f1bc26321d7eb685e778acda3896b7ebacef8fa /src/nvim/testdir/test_expr.vim
parent9370a0e5d859f692f6fa24c27c76410b54595be4 (diff)
parente182a8c8363a72fe3204a24f5f82cd129c8ad9ef (diff)
downloadrneovim-0ed31303b576a44ecf7d2c579110f69e26f9db60.tar.gz
rneovim-0ed31303b576a44ecf7d2c579110f69e26f9db60.tar.bz2
rneovim-0ed31303b576a44ecf7d2c579110f69e26f9db60.zip
Merge #7826 from ckelsel/vim-8.0.0351
Diffstat (limited to 'src/nvim/testdir/test_expr.vim')
-rw-r--r--src/nvim/testdir/test_expr.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_expr.vim b/src/nvim/testdir/test_expr.vim
index d32facaa98..ad967c528c 100644
--- a/src/nvim/testdir/test_expr.vim
+++ b/src/nvim/testdir/test_expr.vim
@@ -439,3 +439,8 @@ func Test_funcref()
call assert_equal(2, OneByRef())
call assert_fails('echo funcref("{")', 'E475:')
endfunc
+
+func Test_empty_concatenate()
+ call assert_equal('b', 'a'[4:0] . 'b')
+ call assert_equal('b', 'b' . 'a'[4:0])
+endfunc