Mercurial > vim
comparison src/testdir/test_eval_stuff.vim @ 18086:9d6832a5426f v8.1.2038
patch 8.1.2038: has('vimscript-4') is always 0
Commit: https://github.com/vim/vim/commit/af9143833865a2d8311e57313023271720442f90
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 15 17:49:10 2019 +0200
patch 8.1.2038: has('vimscript-4') is always 0
Problem: has('vimscript-4') is always 0.
Solution: Add "vimscript-4" to the feature table. (Naruhiko Nishino,
closes #4941)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 15 Sep 2019 18:00:03 +0200 |
parents | a6d218f99ff7 |
children | 609b351cb58f |
comparison
equal
deleted
inserted
replaced
18085:19946bad23ce | 18086:9d6832a5426f |
---|---|
192 call assert_true(1 && l:x.foo) | 192 call assert_true(1 && l:x.foo) |
193 endfunc | 193 endfunc |
194 | 194 |
195 scriptversion 4 | 195 scriptversion 4 |
196 func Test_vvar_scriptversion4() | 196 func Test_vvar_scriptversion4() |
197 call assert_true(has('vimscript-4')) | |
197 call assert_equal(17, 017) | 198 call assert_equal(17, 017) |
198 call assert_equal(18, 018) | 199 call assert_equal(18, 018) |
199 call assert_equal(64, 0b1'00'00'00) | 200 call assert_equal(64, 0b1'00'00'00) |
200 call assert_equal(1048576, 0x10'00'00) | 201 call assert_equal(1048576, 0x10'00'00) |
201 call assert_equal(1000000, 1'000'000) | 202 call assert_equal(1000000, 1'000'000) |