patch 8.2.0183: tests fail when the float feature is disabled
Problem: Tests fail when the float feature is disabled.
Solution: Skip tests that don't work without float support.
diff --git a/src/testdir/test_lambda.vim b/src/testdir/test_lambda.vim
index c55de67..b8f11ea 100644
--- a/src/testdir/test_lambda.vim
+++ b/src/testdir/test_lambda.vim
@@ -216,7 +216,9 @@
func Test_lambda_combination()
call assert_equal(2, {x -> {x -> x}}(1)(2))
call assert_equal(10, {y -> {x -> x(y)(10)}({y -> y})}({z -> z}))
- call assert_equal(5.0, {x -> {y -> x / y}}(10)(2.0))
+ if has('float')
+ call assert_equal(5.0, {x -> {y -> x / y}}(10)(2.0))
+ endif
call assert_equal(6, {x -> {y -> {z -> x + y + z}}}(1)(2)(3))
call assert_equal(6, {x -> {f -> f(x)}}(3)({x -> x * 2}))