summaryrefslogtreecommitdiff
path: root/test/linter/test_openscad_sca2d.vader
diff options
context:
space:
mode:
authorNathan Henrie <n8henrie@users.noreply.github.com>2022-08-07 01:27:17 -0600
committerGitHub <noreply@github.com>2022-08-07 16:27:17 +0900
commit5063804d44fe149ed39149848f92b5960f4f7164 (patch)
treecab553ae5166a556ab5b2a57d81f86c29a97e707 /test/linter/test_openscad_sca2d.vader
parente10fcf22dcc0441da3c984e26ae2e467b0ae554f (diff)
downloadale-5063804d44fe149ed39149848f92b5960f4f7164.zip
Add openscad and sca2d support (#4205)
Diffstat (limited to 'test/linter/test_openscad_sca2d.vader')
-rw-r--r--test/linter/test_openscad_sca2d.vader12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/linter/test_openscad_sca2d.vader b/test/linter/test_openscad_sca2d.vader
new file mode 100644
index 00000000..c2409f55
--- /dev/null
+++ b/test/linter/test_openscad_sca2d.vader
@@ -0,0 +1,12 @@
+Before:
+ call ale#assert#SetUpLinterTest('openscad', 'sca2d')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The options should be used in the command):
+ AssertLinter 'sca2d', ale#Escape('sca2d') . ' %s'
+
+ let b:ale_openscad_sca2d_options = '--foobar'
+
+ AssertLinter 'sca2d', ale#Escape('sca2d') . ' --foobar %s'