From 73e28dcc6125f616cf1f2d56443d22428a79e434 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 17 Sep 2022 21:08:33 +0100 Subject: patch 9.0.0491: no good reason to build without the float feature Problem: No good reason to build without the float feature. Solution: Remove configure check for float and "#ifdef FEAT_FLOAT". --- src/testdir/test_user_func.vim | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/testdir/test_user_func.vim') diff --git a/src/testdir/test_user_func.vim b/src/testdir/test_user_func.vim index 4721175e7..4a74bc0be 100644 --- a/src/testdir/test_user_func.vim +++ b/src/testdir/test_user_func.vim @@ -129,11 +129,9 @@ func MakeBadFunc() endfunc func Test_default_arg() - if has('float') - call assert_equal(1.0, Log(10)) - call assert_equal(log(10), Log(10, exp(1))) - call assert_fails("call Log(1,2,3)", 'E118:') - endif + call assert_equal(1.0, Log(10)) + call assert_equal(log(10), Log(10, exp(1))) + call assert_fails("call Log(1,2,3)", 'E118:') let res = Args(1) call assert_equal(res.mandatory, 1) -- cgit v1.2.1