summaryrefslogtreecommitdiff
path: root/src/testdir/test_float_func.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_float_func.vim')
-rw-r--r--src/testdir/test_float_func.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/testdir/test_float_func.vim b/src/testdir/test_float_func.vim
index 6340b538f..f407f40eb 100644
--- a/src/testdir/test_float_func.vim
+++ b/src/testdir/test_float_func.vim
@@ -1,8 +1,7 @@
" test float functions
-if !has('float')
- throw 'Skipped, float feature missing'
-end
+source check.vim
+CheckFeature float
func Test_abs()
call assert_equal('1.23', string(abs(1.23)))