1
0
forked from aniani/vim

patch 8.2.1572: Vim9: expand() does not take "true" as argument

Problem:    Vim9: expand() does not take "true" as argument.
Solution:   Use tv_get_bool_chk().  (closes #6819)
This commit is contained in:
Bram Moolenaar
2020-09-02 21:37:56 +02:00
parent 119f557230
commit 551d25e765
3 changed files with 10 additions and 2 deletions

View File

@@ -1497,6 +1497,12 @@ def Test_count()
assert_equal(0, count('ABC ABC ABC', 'b', false))
enddef
def Test_expand()
split SomeFile
assert_equal(['SomeFile'], expand('%', true, true))
close
enddef
def Test_recursive_call()
assert_equal(6765, Fibonacci(20))
enddef