diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-07-11 16:31:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-11 16:31:51 +0200 |
commit | 4ece152ad60c4fbd5b98b849a39b8ad9a987d319 (patch) | |
tree | 38b58b5acbac02a1b51ea6eba22ae201d2b985ab /src/testdir | |
parent | 0f1227f7d5a3e368f61d396c1640088c079fef91 (diff) |
patch 8.2.3145: Vim9: profile test fails without profile featurev8.2.3145
Problem: Vim9: profile test fails without profile feature.
Solution: Check the profile feature is present.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_vim9_script.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim index eb4c5d120c..ab0c031c54 100644 --- a/src/testdir/test_vim9_script.vim +++ b/src/testdir/test_vim9_script.vim @@ -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() |