forked from aniani/vim
patch 8.2.3145: Vim9: profile test fails without profile feature
Problem: Vim9: profile test fails without profile feature. Solution: Check the profile feature is present.
This commit is contained in:
@@ -4175,6 +4175,8 @@ enddef
|
||||
" Execute this near the end, profiling doesn't stop until Vim exists.
|
||||
" This only tests that it works, not the profiling output.
|
||||
def Test_xx_profile_with_lambda()
|
||||
CheckFeature profile
|
||||
|
||||
profile start Xprofile.log
|
||||
profile func ProfiledFunc
|
||||
ProfiledFunc()
|
||||
|
Reference in New Issue
Block a user