Mercurial > vim
changeset 25218:645c7963a586 v8.2.3145
patch 8.2.3145: Vim9: profile test fails without profile feature
Commit: https://github.com/vim/vim/commit/4ece152ad60c4fbd5b98b849a39b8ad9a987d319
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 11 16:31:51 2021 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 11 Jul 2021 16:45:03 +0200 |
parents | 3b0dbea898e9 |
children | 269f1e0a2cf1 |
files | src/testdir/test_vim9_script.vim src/version.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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()