summaryrefslogtreecommitdiff
path: root/test/test_ale_var.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-22 22:31:46 +0100
committerw0rp <devw0rp@gmail.com>2018-07-22 22:31:46 +0100
commit846bfb47b2e213c5627eb614f7a436089c1b4896 (patch)
treed38fea57c2c4ad6ce017b891c4e4b625160a97ef /test/test_ale_var.vader
parent81a8c77d2062fb7b9bb85d2835a64f01b80bb2a4 (diff)
downloadale-846bfb47b2e213c5627eb614f7a436089c1b4896.zip
Remove the redundant fix_buffer_data vars and filename variables
Diffstat (limited to 'test/test_ale_var.vader')
-rw-r--r--test/test_ale_var.vader12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/test_ale_var.vader b/test/test_ale_var.vader
index 5f42fe95..419a9983 100644
--- a/test/test_ale_var.vader
+++ b/test/test_ale_var.vader
@@ -5,8 +5,6 @@ After:
unlet! g:ale_some_variable
unlet! b:undefined_variable_name
- let g:ale_fix_buffer_data = {}
-
Execute(ale#Var should return global variables):
AssertEqual 'abc', ale#Var(bufnr(''), 'some_variable')
@@ -24,13 +22,3 @@ Execute(ale#Var should throw exceptions for undefined variables):
let b:undefined_variable_name = 'def'
AssertThrows call ale#Var(bufnr(''), 'undefined_variable_name')
-
-Execute(ale#Var return variables from deleted buffers, saved for fixing things):
- let g:ale_fix_buffer_data[1347347] = {'vars': {'ale_some_variable': 'def'}}
-
- AssertEqual 'def', ale#Var(1347347, 'some_variable')
-
-Execute(ale#Var should return the global variable for unknown variables):
- let g:ale_fix_buffer_data = {}
-
- AssertEqual 'abc', ale#Var(1347347, 'some_variable')