mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
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.
This commit is contained in:
@@ -19,7 +19,9 @@ endfunc
|
||||
def Test_expr1()
|
||||
assert_equal('one', true ? 'one' : 'two')
|
||||
assert_equal('one', 1 ? 'one' : 'two')
|
||||
assert_equal('one', 0.1 ? 'one' : 'two')
|
||||
if has('float')
|
||||
assert_equal('one', 0.1 ? 'one' : 'two')
|
||||
endif
|
||||
assert_equal('one', 'x' ? 'one' : 'two')
|
||||
" assert_equal('one', 0z1234 ? 'one' : 'two')
|
||||
assert_equal('one', [0] ? 'one' : 'two')
|
||||
|
Reference in New Issue
Block a user