summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-07-11 11:36:50 +0100
committerGitHub <noreply@github.com>2017-07-11 11:36:50 +0100
commit05d3bb12ddea96b8f93b6e06eea94c4969dc5c72 (patch)
treebbab35ec8d3bb80c4f8d73c8c19d3cfe53e334c7
parentd787050fa8a82eec26962055829af1f33bd70bbf (diff)
parent78e00294885818f4ccb5831a867b07a555ce9e11 (diff)
downloadale-05d3bb12ddea96b8f93b6e06eea94c4969dc5c72.zip
Merge pull request #752 from elebow/brakeman-cleanup-unused-cache-var
Brakeman: Remove unused cache var from tests
-rw-r--r--autoload/ale/cursor.vim2
-rw-r--r--test/handler/test_brakeman_handler.vader1
2 files changed, 1 insertions, 2 deletions
diff --git a/autoload/ale/cursor.vim b/autoload/ale/cursor.vim
index 86391d5c..3e19b6fc 100644
--- a/autoload/ale/cursor.vim
+++ b/autoload/ale/cursor.vim
@@ -24,7 +24,7 @@ function! s:EchoWithShortMess(setting, message) abort
" Turn shortmess on or off.
if a:setting ==# 'on'
setlocal shortmess+=T
- " echomsg is neede for the message to get truncated and appear in
+ " echomsg is needed for the message to get truncated and appear in
" the message history.
exec "norm! :echomsg a:message\n"
elseif a:setting ==# 'off'
diff --git a/test/handler/test_brakeman_handler.vader b/test/handler/test_brakeman_handler.vader
index 6a577beb..240a0990 100644
--- a/test/handler/test_brakeman_handler.vader
+++ b/test/handler/test_brakeman_handler.vader
@@ -5,7 +5,6 @@ Before:
cd ../ruby_fixtures/valid_rails_app/app/models
runtime ale_linters/ruby/brakeman.vim
- call setbufvar(0, 'ruby_brakeman_rails_root_cached', '')
After:
" Switch back to whatever directory it was that we started on.