summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_random.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_random.vim')
-rw-r--r--src/testdir/test_random.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/testdir/test_random.vim b/src/testdir/test_random.vim
index 1457310bd6..afb3044e7f 100644
--- a/src/testdir/test_random.vim
+++ b/src/testdir/test_random.vim
@@ -26,9 +26,7 @@ func Test_Rand()
call assert_equal(1001954530, rand())
call test_srand_seed()
- if has('float')
- call assert_fails('echo srand(1.2)', 'E805:')
- endif
+ call assert_fails('echo srand(1.2)', 'E805:')
call assert_fails('echo srand([1])', 'E745:')
call assert_fails('echo rand("burp")', 'E475:')
call assert_fails('echo rand([1, 2, 3])', 'E730:')