diff src/testdir/test_lambda.vim @ 30325:58fb880f3607 v9.0.0498

patch 9.0.0498: various small issues Commit: https://github.com/vim/vim/commit/747f110420a0b0f4c2e40e00e8456f1e45b6f0de Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 18 13:06:41 2022 +0100 patch 9.0.0498: various small issues Problem: Various small issues. Solution: Various small fixes.
author Bram Moolenaar <Bram@vim.org>
date Sun, 18 Sep 2022 14:15:06 +0200
parents 67f005ab37d7
children f08ed0738f7a
line wrap: on
line diff
--- a/src/testdir/test_lambda.vim
+++ b/src/testdir/test_lambda.vim
@@ -251,9 +251,7 @@ endfunc
 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}))
-  if has('float')
-    call assert_equal(5.0, {x -> {y -> x / y}}(10)(2.0))
-  endif
+  call assert_equal(5.0, {x -> {y -> x / y}}(10)(2.0))
   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}))