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.
diff --git a/src/testdir/test_vim9_expr.vim b/src/testdir/test_vim9_expr.vim
index 8776e07..e66a559 100644
--- a/src/testdir/test_vim9_expr.vim
+++ b/src/testdir/test_vim9_expr.vim
@@ -19,7 +19,9 @@
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')