summaryrefslogtreecommitdiff
path: root/test/test_puppet_path_detection.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_puppet_path_detection.vader')
-rw-r--r--test/test_puppet_path_detection.vader22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/test_puppet_path_detection.vader b/test/test_puppet_path_detection.vader
deleted file mode 100644
index e918e916..00000000
--- a/test/test_puppet_path_detection.vader
+++ /dev/null
@@ -1,22 +0,0 @@
-Before:
- call ale#test#SetDirectory('/testplugin/test')
-
- runtime ale_linters/puppet/languageserver.vim
-
-After:
- call ale#test#RestoreDirectory()
- call ale#linter#Reset()
-
-Execute(old-style module should find its root correctly):
- call ale#test#SetFilename('test-files/puppet/old-style-module/manifests/init.pp')
-
- AssertEqual
- \ ale#path#Simplify(g:dir . '/test-files/puppet/old-style-module'),
- \ ale_linters#puppet#languageserver#GetProjectRoot(bufnr(''))
-
-Execute(new-style module should find its root correctly):
- call ale#test#SetFilename('test-files/puppet/new-style-module/lib/puppet/types/exampletype.rb')
-
- AssertEqual
- \ ale#path#Simplify(g:dir . '/test-files/puppet/new-style-module'),
- \ ale_linters#puppet#languageserver#GetProjectRoot(bufnr(''))