summaryrefslogtreecommitdiff
path: root/test/linter/test_psalm.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_psalm.vader')
-rw-r--r--test/linter/test_psalm.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/linter/test_psalm.vader b/test/linter/test_psalm.vader
index 4edb95c8..b79f2724 100644
--- a/test/linter/test_psalm.vader
+++ b/test/linter/test_psalm.vader
@@ -36,3 +36,8 @@ Execute(User provided options should be used):
AssertLinter 'psalm',
\ ale#Escape('psalm')
\ . ' --language-server --my-user-provided-option my-value'
+
+Execute(The project path should be correct for composer.json file):
+ call ale#test#SetFilename('../test-files/php/with-composer/test.php')
+
+ AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/php/with-composer')