mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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".
This commit is contained in:
@@ -686,7 +686,6 @@ func Test_python_function_call()
|
||||
endfunc
|
||||
|
||||
func Test_python_float()
|
||||
CheckFeature float
|
||||
let l = [0.0]
|
||||
py l = vim.bindeval('l')
|
||||
py l.extend([0.0])
|
||||
@@ -785,9 +784,7 @@ func Test_python_pyeval()
|
||||
py v = vim.eval('test_null_function()')
|
||||
call assert_equal(v:none, pyeval('v'))
|
||||
|
||||
if has('float')
|
||||
call assert_equal(0.0, pyeval('0.0'))
|
||||
endif
|
||||
call assert_equal(0.0, pyeval('0.0'))
|
||||
|
||||
" Evaluate an invalid values
|
||||
call AssertException(['let v = pyeval(''"\0"'')'], 'E859:')
|
||||
|
Reference in New Issue
Block a user