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.
diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim
index eb4c5d1..ab0c031 100644
--- a/src/testdir/test_vim9_script.vim
+++ b/src/testdir/test_vim9_script.vim
@@ -4175,6 +4175,8 @@
" 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()