summaryrefslogtreecommitdiff
path: root/test/fixers/test_dhall_fixer_callback.vader
diff options
context:
space:
mode:
authorpatrick brisbin <pbrisbin@gmail.com>2020-08-25 08:57:35 -0400
committerpatrick brisbin <pbrisbin@gmail.com>2020-08-25 09:34:34 -0400
commit447aea4af045b80d63fafe4e65791aa6b7d5b21b (patch)
tree1f909fe3d474da40a41e8e8f50205e2a2b1306aa /test/fixers/test_dhall_fixer_callback.vader
parent3e2abe3f25493af63af91a6013447e378e09f6ec (diff)
downloadale-447aea4af045b80d63fafe4e65791aa6b7d5b21b.zip
Add dhall-format as a Fixer
https://github.com/dhall-lang/dhall-lang
Diffstat (limited to 'test/fixers/test_dhall_fixer_callback.vader')
-rw-r--r--test/fixers/test_dhall_fixer_callback.vader11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/fixers/test_dhall_fixer_callback.vader b/test/fixers/test_dhall_fixer_callback.vader
new file mode 100644
index 00000000..f27880b7
--- /dev/null
+++ b/test/fixers/test_dhall_fixer_callback.vader
@@ -0,0 +1,11 @@
+Before:
+ call ale#assert#SetUpFixerTest('dhall', 'dhall')
+
+After:
+ call ale#assert#TearDownFixerTest()
+
+Execute(The default command should be correct):
+ AssertFixer
+ \ { 'read_temporary_file': 1,
+ \ 'command': ale#Escape('dhall') . ' format --inplace %t'
+ \ }