mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:20:03 +08:00
Remove vim file in test
This commit is contained in:
parent
837f89c446
commit
42b7d3bcf3
@ -1,21 +0,0 @@
|
|||||||
let log = SpaceVim#api#import('logger')
|
|
||||||
call log.set_name('TestLog')
|
|
||||||
" log.name == 'TestLog'
|
|
||||||
call log.info('info test')
|
|
||||||
call log.warn('info test')
|
|
||||||
call log.error('info test')
|
|
||||||
" len(log.temp) == 3
|
|
||||||
call log.set_level(2)
|
|
||||||
call log.info('info test')
|
|
||||||
call log.warn('info test')
|
|
||||||
call log.error('info test')
|
|
||||||
" len(log.temp) == 5
|
|
||||||
call log.set_level(3)
|
|
||||||
call log.info('info test')
|
|
||||||
call log.warn('info test')
|
|
||||||
call log.error('info test')
|
|
||||||
" len(log.temp) == 6
|
|
||||||
" len(split(log.view(1), "\n")) == 7
|
|
||||||
" len(split(log.view(2), "\n")) == 6
|
|
||||||
" len(split(log.view(3), "\n")) == 4
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user