Mercurial > vim
comparison src/testdir/test_vim9_script.vim @ 23940:949238ccbd50 v8.2.2512
patch 8.2.2512: Vim9: compiling error test sometimes fails
Commit: https://github.com/vim/vim/commit/03dfde2b5f81f06639ec8697cdd32ad50d8509fd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 14 13:17:22 2021 +0100
patch 8.2.2512: Vim9: compiling error test sometimes fails
Problem: Vim9: compiling error test sometimes fails.
Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique
Pell?, closes #7837)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Feb 2021 13:30:03 +0100 |
parents | 5e5780e3f75d |
children | 4279c1c66df1 |
comparison
equal
deleted
inserted
replaced
23939:c0b1516010b6 | 23940:949238ccbd50 |
---|---|
753 END | 753 END |
754 CheckScriptSuccess(lines) | 754 CheckScriptSuccess(lines) |
755 enddef | 755 enddef |
756 | 756 |
757 def Test_error_in_nested_function() | 757 def Test_error_in_nested_function() |
758 # an error in a nested :function aborts executin in the calling :def function | 758 # an error in a nested :function aborts executing in the calling :def function |
759 var lines =<< trim END | 759 var lines =<< trim END |
760 vim9script | 760 vim9script |
761 def Func() | 761 def Func() |
762 Error() | 762 Error() |
763 g:test_var = 1 | 763 g:test_var = 1 |