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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user