Merge pull request #10656 from blueyed/minor

Minor: align test, fix comment/usage
This commit is contained in:
Daniel Hahler 2019-07-30 11:45:41 +02:00 committed by GitHub
commit be6bf75d79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ local funcs_file = arg[4]
if nvimsrcdir == '--help' then
print([[
Usage:
lua geneval.lua src/nvim build/src/nvim/auto
lua gen_eval.lua src/nvim build/src/nvim/auto
Will generate build/src/nvim/auto/funcs.generated.h with definition of functions
static const array.

View File

@ -33,9 +33,9 @@ endfunc
func Test_compiler_without_arg()
let a=split(execute('compiler'))
call assert_match(expand('^.*runtime/compiler/ant.vim$'), a[0])
call assert_match(expand('^.*runtime/compiler/bcc.vim$'), a[1])
call assert_match(expand('^.*runtime/compiler/xmlwf.vim$'), a[-1])
call assert_match('^.*runtime/compiler/ant.vim$', a[0])
call assert_match('^.*runtime/compiler/bcc.vim$', a[1])
call assert_match('^.*runtime/compiler/xmlwf.vim$', a[-1])
endfunc
func Test_compiler_completion()