summaryrefslogtreecommitdiff
path: root/src/testdir/test104.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-02-05 22:26:05 +0100
committerBram Moolenaar <Bram@vim.org>2014-02-05 22:26:05 +0100
commit4f943c09a5f09b330d92177ab50b5dd2a7986836 (patch)
tree301c46bb26d08b375dbda983bd2b001355132bc6 /src/testdir/test104.in
parentf31ecce97eb2aa77a9f43725710af0619e409035 (diff)
downloadvim-git-4f943c09a5f09b330d92177ab50b5dd2a7986836.tar.gz
updated for version 7.4.167v7.4.167
Problem: Fixes are not tested. Solution: Add a test for not autoloading on assignment. (Yukihiro Nakadaira)
Diffstat (limited to 'src/testdir/test104.in')
-rw-r--r--src/testdir/test104.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/testdir/test104.in b/src/testdir/test104.in
new file mode 100644
index 000000000..f329d2dbe
--- /dev/null
+++ b/src/testdir/test104.in
@@ -0,0 +1,16 @@
+Tests for autoload. vim: set ft=vim ts=8 :
+
+STARTTEST
+:so small.vim
+:set runtimepath+=./sautest
+:" Test to not autoload when assigning. It causes internal error.
+:try
+: let Test104#numvar = function('tr')
+: $put ='OK: ' . string(Test104#numvar)
+:catch
+: $put ='FAIL: ' . v:exception
+:endtry
+:/^Results/,$wq! test.out
+ENDTEST
+
+Results of test104: