mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -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:
@@ -304,10 +304,8 @@ func Test_ruby_Vim_evaluate()
|
||||
" on versions of Ruby.
|
||||
call assert_match('^Integer\|Fixnum$', rubyeval('Vim::evaluate("123").class'))
|
||||
|
||||
if has('float')
|
||||
call assert_equal(1.23, rubyeval('Vim::evaluate("1.23")'))
|
||||
call assert_equal('Float', rubyeval('Vim::evaluate("1.23").class'))
|
||||
endif
|
||||
call assert_equal(1.23, rubyeval('Vim::evaluate("1.23")'))
|
||||
call assert_equal('Float', rubyeval('Vim::evaluate("1.23").class'))
|
||||
|
||||
call assert_equal('foo', rubyeval('Vim::evaluate("\"foo\"")'))
|
||||
call assert_equal('String', rubyeval('Vim::evaluate("\"foo\"").class'))
|
||||
|
Reference in New Issue
Block a user