summaryrefslogtreecommitdiff
path: root/test/handler
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-03-20 22:11:22 +0000
committerw0rp <devw0rp@gmail.com>2021-03-20 22:11:42 +0000
commitb1d833417bcb57e265e0d01df07b28f463529d4b (patch)
tree11421aeca89127b0cc9417f8ff4cb0d725199f49 /test/handler
parent3838ae118d8f05fa1b1be7952a1c8aa3055d6728 (diff)
downloadale-b1d833417bcb57e265e0d01df07b28f463529d4b.zip
#3633 - Put all dummy test files in test/test-files
Diffstat (limited to 'test/handler')
-rw-r--r--test/handler/test_brakeman_handler.vader2
-rw-r--r--test/handler/test_lacheck_handler.vader2
-rw-r--r--test/handler/test_rails_best_practices_handler.vader2
-rw-r--r--test/handler/test_terraform_handler.vader2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/handler/test_brakeman_handler.vader b/test/handler/test_brakeman_handler.vader
index 02eb31b0..ad5376f7 100644
--- a/test/handler/test_brakeman_handler.vader
+++ b/test/handler/test_brakeman_handler.vader
@@ -8,7 +8,7 @@ After:
call ale#linter#Reset()
Execute(The brakeman handler should parse JSON correctly):
- call ale#test#SetFilename('../ruby_fixtures/valid_rails_app/app/models/thing.rb')
+ call ale#test#SetFilename('../test-files/ruby/valid_rails_app/app/models/thing.rb')
AssertEqual
\ [
diff --git a/test/handler/test_lacheck_handler.vader b/test/handler/test_lacheck_handler.vader
index 0bcc3be8..5a4f92dd 100644
--- a/test/handler/test_lacheck_handler.vader
+++ b/test/handler/test_lacheck_handler.vader
@@ -8,7 +8,7 @@ After:
Execute(The lacheck handler should parse lines correctly):
- call ale#test#SetFilename('command_callback/tex_paths/sample1.tex')
+ call ale#test#SetFilename('command_callback/../test-files/tex/sample1.tex')
AssertEqual
\ [
diff --git a/test/handler/test_rails_best_practices_handler.vader b/test/handler/test_rails_best_practices_handler.vader
index 9875e977..f6d69eee 100644
--- a/test/handler/test_rails_best_practices_handler.vader
+++ b/test/handler/test_rails_best_practices_handler.vader
@@ -9,7 +9,7 @@ After:
call ale#linter#Reset()
Execute(The rails_best_practices handler should parse JSON correctly):
- call ale#test#SetFilename('ruby_fixtures/valid_rails_app/app/models/thing.rb')
+ call ale#test#SetFilename('test-files/ruby/valid_rails_app/app/models/thing.rb')
AssertEqual
\ [
diff --git a/test/handler/test_terraform_handler.vader b/test/handler/test_terraform_handler.vader
index 73730b0b..d054cb3b 100644
--- a/test/handler/test_terraform_handler.vader
+++ b/test/handler/test_terraform_handler.vader
@@ -1,7 +1,7 @@
Before:
" Load the file which defines the linter.
runtime ale_linters/terraform/terraform.vim
- call ale#test#SetDirectory('/testplugin/test/terraform_files')
+ call ale#test#SetDirectory('/testplugin/test/test-files/terraform')
call ale#test#SetFilename('providers.tf')
After: