blob: 232874aa953966cc13c7cc048ec9d00f6c91b92b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
After:
unlet! g:buffer
let g:ale_buffer_info = {}
Execute('ALE globals should be cleared when the buffer is deleted):
new
let g:ale_buffer_info = {
\ bufnr(''): {'temporary_file_list': [], 'temporary_directory_list': []},
\ 10347: {'temporary_file_list': [], 'temporary_directory_list': []},
\}
bdelete
AssertEqual {10347: {'temporary_file_list': [], 'temporary_directory_list': []}}, g:ale_buffer_info
|