summaryrefslogtreecommitdiff
path: root/src/testdir/test_vim9_func.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_vim9_func.vim')
-rw-r--r--src/testdir/test_vim9_func.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testdir/test_vim9_func.vim b/src/testdir/test_vim9_func.vim
index 41ba2da88..434d49bf9 100644
--- a/src/testdir/test_vim9_func.vim
+++ b/src/testdir/test_vim9_func.vim
@@ -46,7 +46,7 @@ def TestCompilingErrorInTry()
var lines =<< trim END
vim9script
- def script#OnlyCompiled()
+ export def OnlyCompiled()
g:runtime = 'yes'
invalid
enddef
@@ -114,7 +114,7 @@ def Test_autoload_name_mismatch()
var lines =<< trim END
vim9script
- def scriptX#Function()
+ export def NoFunction()
# comment
g:runtime = 'yes'
enddef
@@ -126,7 +126,7 @@ def Test_autoload_name_mismatch()
lines =<< trim END
call script#Function()
END
- v9.CheckScriptFailure(lines, 'E746:', 2)
+ v9.CheckScriptFailure(lines, 'E117:', 1)
&rtp = save_rtp
delete(dir, 'rf')